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