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