|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JXCollapsiblePane.Direction>
org.jdesktop.swingx.JXCollapsiblePane.Direction
public static enum JXCollapsiblePane.Direction
The direction defines how the collapsible pane will collapse. The
constant names were designed by choosing a fixed point and then
determining the collapsing direction from that fixed point. This means
RIGHT
expands to the right and this is probably the best
expansion for a component in BorderLayout.EAST
.
Enum Constant Summary | |
---|---|
DOWN
Collapses down. |
|
LEFT
Collapses left. |
|
RIGHT
Collapses right. |
|
UP
Collapses up. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
.
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic boolean isVertical()
true
if the direction is vertical, false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |