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