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