|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Side>
bibliothek.gui.dock.station.stack.tab.layouting.Side
public enum Side
Some side of a rectangle.
Enum Constant Summary | |
---|---|
BOTTOM
bottom side, horizontal |
|
LEFT
to the left, vertical |
|
RIGHT
to the right, vertical |
|
TOP
top side, horizontal |
Method Summary | |
---|---|
boolean |
isHorizontal()
Tells whether this side is a horizontal side. |
boolean |
isVertical()
Tells whether this side is a vertical side. |
static Side |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Side[] |
values()
Returns an array containing the constants of this enum type, in the order they're 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 Side TOP
public static final Side BOTTOM
public static final Side LEFT
public static final Side RIGHT
Method Detail |
---|
public static final Side[] values()
for(Side c : Side.values()) System.out.println(c);
public static Side valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic boolean isHorizontal()
true
if TOP
or BOTTOM
public boolean isVertical()
true
if LEFT
or RIGHT
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |