public static enum Control.TextStyles extends java.lang.Enum<Control.TextStyles>
Enum Constant and Description |
---|
CENTER_ALLIGN |
LEFT_ALLIGN |
NONE |
Modifier and Type | Method and Description |
---|---|
static Control.TextStyles |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Control.TextStyles[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Control.TextStyles NONE
public static final Control.TextStyles CENTER_ALLIGN
public static final Control.TextStyles LEFT_ALLIGN
public static Control.TextStyles[] values()
for (Control.TextStyles c : Control.TextStyles.values()) System.out.println(c);
public static Control.TextStyles 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