public enum Anchor extends Enum<Anchor> implements Key
Enum Constant and Description |
---|
BOTTOM
The bottom property sets the data element position to bottom.
|
CENTER
This is the default.
|
LEFT
The left property sets the data element position to left.
|
RIGHT
The right property sets the data element position to right.
|
TOP
The top property sets the data element position to top.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static Anchor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Anchor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final Anchor CENTER
public static final Anchor TOP
public static final Anchor LEFT
public static final Anchor BOTTOM
public static final Anchor RIGHT
public static Anchor[] values()
for (Anchor c : Anchor.values()) System.out.println(c);
public static Anchor valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null