public static enum Direction.Type extends java.lang.Enum<Direction.Type>
| Enum Constant and Description |
|---|
initial
Sets this property to its default value
|
ltr
Text direction is left-to-right
|
rtl
Text direction is right-to-left
|
| Modifier and Type | Method and Description |
|---|---|
static Direction.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Direction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Direction.Type ltr
public static final Direction.Type rtl
public static final Direction.Type initial
public static Direction.Type[] values()
for (Direction.Type c : Direction.Type.values()) System.out.println(c);
public static Direction.Type 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