This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.swing
enum LayoutStyle.ComponentPlacement
- All Implemented Interfaces:
- Serializable, Comparable
public static final enum LayoutStyle.ComponentPlacement
extends Enum
ComponentPlacement
is an enumeration of the
possible ways two components can be placed relative to each
other. ComponentPlacement
is used by the
LayoutStyle
method getPreferredGap
. Refer to
LayoutStyle
for more information.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INDENT
public static final LayoutStyle.ComponentPlacement INDENT
-
Enumeration value indicating the distance to indent a component
is being requested. For example, often times the children of
a label will be horizontally indented from the label. To determine
the preferred distance for such a gap use the
INDENT
type.
This value is typically only useful with a direction of
EAST
or WEST
.
RELATED
public static final LayoutStyle.ComponentPlacement RELATED
-
Enumeration value indicating the two components are
visually related and will be placed in the same parent.
For example, a
JLabel
providing a label for a
JTextField
is typically visually associated
with the JTextField
; the constant RELATED
is used for this.
UNRELATED
public static final LayoutStyle.ComponentPlacement UNRELATED
-
Enumeration value indicating the two components are
visually unrelated and will be placed in the same parent.
For example, groupings of components are usually visually
separated; the constant
UNRELATED
is used for this.
valueOf
public static LayoutStyle.ComponentPlacement valueOf(String name)
-
- Parameters:
name
values
public static LayoutStyle.ComponentPlacement[] values()
-
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.