public enum LabelPosition extends Enum<LabelPosition>
Modifier and Type | Method and Description |
---|---|
static LabelPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelPosition TOP
public static final LabelPosition LEFT
public static LabelPosition[] values()
for (LabelPosition c : LabelPosition.values()) System.out.println(c);
public static LabelPosition 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