public static enum JXCollapsiblePane.Direction extends Enum<JXCollapsiblePane.Direction>
RIGHT expands to the right and this is probably the best
expansion for a component in BorderLayout.EAST.| Enum Constant and Description |
|---|
DOWN
Collapses down.
|
END
Collapses toward the ending edge.
|
LEADING
Collapses toward the leading edge.
|
LEFT
Collapses left.
|
RIGHT
Collapses right.
|
START
Collapses toward the starting edge.
|
TRAILING
Collapses toward the trailing edge.
|
UP
Collapses up.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isVertical()
Gets the orientation for this direction.
|
static JXCollapsiblePane.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JXCollapsiblePane.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JXCollapsiblePane.Direction LEFT
BorderLayout.WEST.public static final JXCollapsiblePane.Direction RIGHT
BorderLayout.EAST.public static final JXCollapsiblePane.Direction UP
BorderLayout.NORTH.public static final JXCollapsiblePane.Direction DOWN
BorderLayout.SOUTH.public static final JXCollapsiblePane.Direction LEADING
BorderLayout.LINE_START.public static final JXCollapsiblePane.Direction TRAILING
BorderLayout.LINE_END.public static final JXCollapsiblePane.Direction START
BorderLayout.PAGE_START.public static final JXCollapsiblePane.Direction END
BorderLayout.PAGE_END.public static JXCollapsiblePane.Direction[] values()
for (JXCollapsiblePane.Direction c : JXCollapsiblePane.Direction.values()) System.out.println(c);
public static JXCollapsiblePane.Direction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isVertical()
true if the direction is vertical, false
otherwiseCopyright © 2017. All Rights Reserved.