public static enum Style.TextAlign extends Enum<Style.TextAlign>
Enum Constant and Description |
---|
Center |
End |
Justify |
Left |
MatchParent |
Right |
Start |
Unset |
Modifier and Type | Method and Description |
---|---|
static Style.TextAlign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Style.TextAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Style.TextAlign Unset
public static final Style.TextAlign Start
public static final Style.TextAlign End
public static final Style.TextAlign Left
public static final Style.TextAlign Right
public static final Style.TextAlign Center
public static final Style.TextAlign Justify
public static final Style.TextAlign MatchParent
public static Style.TextAlign[] values()
for (Style.TextAlign c : Style.TextAlign.values()) System.out.println(c);
public static Style.TextAlign 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 nullRevision 4.0.15 / 20220727-0149