public static enum DockTitle.Orientation extends java.lang.Enum<DockTitle.Orientation>
DockTitle
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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(java.lang.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 are declared.
|
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
public static DockTitle.Orientation[] values()
for (DockTitle.Orientation c : DockTitle.Orientation.values()) System.out.println(c);
public static DockTitle.Orientation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isHorizontal()
true
if the title lays horizontalpublic boolean isVertical()
true
if the title lays vertical