public static enum Flex.Direction extends Enum<Flex.Direction>
Enum Constant and Description |
---|
COLUMN
The main axis runs from top to bottom, and the cross axis runs from left to right.
|
COLUMN_REVERSE
The main axis runs from bottom to top, and the cross axis runs from left to right.
|
ROW
The main axis runs from left to right, and the cross axis runs from top to bottom.
|
ROW_REVERSE
The main axis runs from right to left, and the cross axis runs from top to bottom.
|
Modifier and Type | Method and Description |
---|---|
static Flex.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flex.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flex.Direction COLUMN
public static final Flex.Direction COLUMN_REVERSE
public static final Flex.Direction ROW
public static final Flex.Direction ROW_REVERSE
public static Flex.Direction 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 static Flex.Direction[] values()
for (Flex.Direction c : Flex.Direction.values()) System.out.println(c);