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