Enum Constant and Description |
---|
AUTO |
BASELINE |
CENTER |
FLEX_END |
FLEX_START |
SPACE_AROUND |
SPACE_BETWEEN |
STRETCH |
Modifier and Type | Method and Description |
---|---|
static YogaAlign |
fromInt(int value) |
int |
intValue() |
static YogaAlign |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static YogaAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YogaAlign AUTO
public static final YogaAlign FLEX_START
public static final YogaAlign CENTER
public static final YogaAlign FLEX_END
public static final YogaAlign STRETCH
public static final YogaAlign BASELINE
public static final YogaAlign SPACE_BETWEEN
public static final YogaAlign SPACE_AROUND
public static YogaAlign[] values()
for (YogaAlign c : YogaAlign.values()) System.out.println(c);
public static YogaAlign valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int intValue()
public static YogaAlign fromInt(int value)