public static enum FontStyle.HorizontalAlignment extends Enum<FontStyle.HorizontalAlignment>
Enum Constant and Description |
---|
HORIZONTAL_CENTER
Centered text from the starting point
|
HORIZONTAL_LEFT
Left-aligned text from the starting point
|
HORIZONTAL_RIGHT
Right-aligned text from the starting point
|
Modifier and Type | Method and Description |
---|---|
static FontStyle.HorizontalAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontStyle.HorizontalAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontStyle.HorizontalAlignment HORIZONTAL_CENTER
public static final FontStyle.HorizontalAlignment HORIZONTAL_LEFT
public static final FontStyle.HorizontalAlignment HORIZONTAL_RIGHT
public static FontStyle.HorizontalAlignment[] values()
for (FontStyle.HorizontalAlignment c : FontStyle.HorizontalAlignment.values()) System.out.println(c);
public static FontStyle.HorizontalAlignment 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