public static enum Label.Adjustment extends java.lang.Enum<Label.Adjustment>
Enum Constant and Description |
---|
BOTTOM_CENTER |
BOTTOM_LEFT |
BOTTOM_RIGHT |
MIDDLE_CENTER |
MIDDLE_LEFT |
MIDDLE_RIGHT |
TOP_CENTER |
TOP_LEFT |
TOP_RIGHT |
Modifier and Type | Method and Description |
---|---|
static Label.Adjustment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Label.Adjustment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Label.Adjustment TOP_LEFT
public static final Label.Adjustment TOP_CENTER
public static final Label.Adjustment TOP_RIGHT
public static final Label.Adjustment MIDDLE_LEFT
public static final Label.Adjustment MIDDLE_CENTER
public static final Label.Adjustment MIDDLE_RIGHT
public static final Label.Adjustment BOTTOM_LEFT
public static final Label.Adjustment BOTTOM_CENTER
public static final Label.Adjustment BOTTOM_RIGHT
public static Label.Adjustment[] values()
for (Label.Adjustment c : Label.Adjustment.values()) System.out.println(c);
public static Label.Adjustment 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