public static enum TLspTextStyle.Alignment extends Enum<TLspTextStyle.Alignment>
Enum Constant and Description |
---|
CENTER
Centered alignment
|
LEFT
Left alignment
|
RIGHT
Right alignment
|
Modifier and Type | Method and Description |
---|---|
static TLspTextStyle.Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLspTextStyle.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLspTextStyle.Alignment LEFT
public static final TLspTextStyle.Alignment CENTER
public static final TLspTextStyle.Alignment RIGHT
public static TLspTextStyle.Alignment[] values()
for (TLspTextStyle.Alignment c : TLspTextStyle.Alignment.values()) System.out.println(c);
public static TLspTextStyle.Alignment 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