|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DockTitle.Orientation> bibliothek.gui.dock.title.DockTitle.Orientation
public static enum DockTitle.Orientation
How to layout a DockTitle
Enum Constant Summary | |
---|---|
EAST_SIDED
The title is at the east side of some panel. |
|
FREE_HORIZONTAL
The title is somehow horizontal oriented. |
|
FREE_VERTICAL
The title is somehow vertical oriented. |
|
NORTH_SIDED
The title is at the north side of some panel. |
|
SOUTH_SIDED
The title is at the south side of some panel. |
|
WEST_SIDED
The title is at the west side of some panel. |
Method Summary | |
---|---|
boolean |
isHorizontal()
Tells a DockTitle that its preferred height should be smaller than its preferred width |
boolean |
isVertical()
Tells a DockTitle that its preferred width should be smaller than its preferred height |
static DockTitle.Orientation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DockTitle.Orientation[] |
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 DockTitle.Orientation NORTH_SIDED
public static final DockTitle.Orientation SOUTH_SIDED
public static final DockTitle.Orientation EAST_SIDED
public static final DockTitle.Orientation WEST_SIDED
public static final DockTitle.Orientation FREE_VERTICAL
public static final DockTitle.Orientation FREE_HORIZONTAL
Method Detail |
---|
public static final DockTitle.Orientation[] values()
for(DockTitle.Orientation c : DockTitle.Orientation.values()) System.out.println(c);
public static DockTitle.Orientation 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 the title lays horizontalpublic boolean isVertical()
true
if the title lays vertical
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |