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