public enum HorizontalAlign extends java.lang.Enum<HorizontalAlign>
| Enum Constant and Description |
|---|
CENTER
Center.
|
LEFT
Left.
|
RIGHT
Right.
|
| Modifier and Type | Method and Description |
|---|---|
static HorizontalAlign |
fromString(java.lang.String label)
Get a type from its label.
|
java.lang.String |
getLabel() |
static HorizontalAlign |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HorizontalAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HorizontalAlign LEFT
public static final HorizontalAlign CENTER
public static final HorizontalAlign RIGHT
public static HorizontalAlign[] values()
for (HorizontalAlign c : HorizontalAlign.values()) System.out.println(c);
public static HorizontalAlign 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 static HorizontalAlign fromString(java.lang.String label)
label - the type labelpublic final java.lang.String getLabel()