public enum VerticalAlign extends java.lang.Enum<VerticalAlign> implements java.io.Serializable
Enum Constant and Description |
---|
BASELINE
Content should be aligned to baseline of container.
|
BOTTOM
Content should be aligned to bottom border of container.
|
MIDDLE
Content should be aligned to middle of container.
|
TOP
Content should be aligned to top border of container.
|
Modifier and Type | Field and Description |
---|---|
int |
index
Used to keep alignment index.
|
Modifier and Type | Method and Description |
---|---|
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 final VerticalAlign BASELINE
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 null