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