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