public enum TextAlignmentType extends Enum<TextAlignmentType>
TextBlock's given space.| Enum Constant and Description |
|---|
CENTER
The center of the given space.
|
LEFT
The left side of given space.
|
RIGHT
The right side of given space.
|
| Modifier and Type | Method and Description |
|---|---|
static TextAlignmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAlignmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAlignmentType LEFT
public static final TextAlignmentType RIGHT
public static final TextAlignmentType CENTER
public static TextAlignmentType[] values()
for (TextAlignmentType c : TextAlignmentType.values()) System.out.println(c);
public static TextAlignmentType 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