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