public static enum ViewUtils.Direction extends java.lang.Enum<ViewUtils.Direction>
| Enum Constant and Description |
|---|
BOTTOM_TO_TOP
下 -> 上
|
LEFT_TO_RIGHT
左 -> 右
|
RIGHT_TO_LEFT
右 -> 左
|
TOP_TO_BOTTOM
上 -> 下
|
| Modifier and Type | Method and Description |
|---|---|
static ViewUtils.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ViewUtils.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewUtils.Direction LEFT_TO_RIGHT
public static final ViewUtils.Direction TOP_TO_BOTTOM
public static final ViewUtils.Direction RIGHT_TO_LEFT
public static final ViewUtils.Direction BOTTOM_TO_TOP
public static ViewUtils.Direction[] values()
for (ViewUtils.Direction c : ViewUtils.Direction.values()) System.out.println(c);
public static ViewUtils.Direction 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