public enum YogaFlexDirection extends Enum<YogaFlexDirection>
Enum Constant and Description |
---|
COLUMN |
COLUMN_REVERSE |
ROW |
ROW_REVERSE |
Modifier and Type | Method and Description |
---|---|
static YogaFlexDirection |
fromInt(int value) |
int |
intValue() |
static YogaFlexDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YogaFlexDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YogaFlexDirection COLUMN
public static final YogaFlexDirection COLUMN_REVERSE
public static final YogaFlexDirection ROW
public static final YogaFlexDirection ROW_REVERSE
public static YogaFlexDirection[] values()
for (YogaFlexDirection c : YogaFlexDirection.values()) System.out.println(c);
public static YogaFlexDirection 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 nullpublic int intValue()
public static YogaFlexDirection fromInt(int value)