Enum Constant and Description |
---|
Bottom
The element is docked at the bottom side.
|
Left
The element is docked at the left side.
|
None
The element is not displayed.
|
Right
The element is docked at the right side.
|
Top
The element is docked at the top side.
|
Modifier and Type | Method and Description |
---|---|
static Position |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Position None
public static final Position Left
public static final Position Top
public static final Position Right
public static final Position Bottom
public static Position[] values()
for (Position c : Position.values()) System.out.println(c);
public static Position 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 null