public static enum TextFormat.Alignment extends Enum<TextFormat.Alignment>
Enum Constant and Description |
---|
AS_IS
Text should not be aligned.
|
BLOCK
Text should be block aligned.
|
CENTER
Text should be center aligned.
|
LEFT
Text should be left aligned.
|
RIGHT
Text should be right aligned.
|
Modifier and Type | Method and Description |
---|---|
static TextFormat.Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextFormat.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextFormat.Alignment AS_IS
public static final TextFormat.Alignment BLOCK
public static final TextFormat.Alignment CENTER
public static final TextFormat.Alignment LEFT
public static final TextFormat.Alignment RIGHT
public static TextFormat.Alignment[] values()
for (TextFormat.Alignment c : TextFormat.Alignment.values()) System.out.println(c);
public static TextFormat.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 nullCopyright © 2013–2019. All rights reserved.