public enum TextDirection extends java.lang.Enum<TextDirection> implements EnumConverter<TextDirection>
Modifier and Type | Method and Description |
---|---|
static TextDirection |
from(java.lang.String value) |
java.lang.String |
to(TextDirection v) |
static TextDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextDirection LTR
public static final TextDirection RTL
public static TextDirection[] values()
for (TextDirection c : TextDirection.values()) System.out.println(c);
public static TextDirection 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 nullpublic static TextDirection from(java.lang.String value)
public java.lang.String to(TextDirection v)
to
in interface EnumConverter<TextDirection>