public static enum Flex.Justify extends Enum<Flex.Justify>
Enum Constant and Description |
---|
CENTER
Lays out the elements at the center of the main axis container.
|
END
Lays out the elements at the end of the main axis container.
|
SPACE_AROUND
Lays out the elements across the available space on the main axis, adding space before the first child and
after the last one.
|
SPACE_BETWEEN
Lays out the elements across the available space on the main axis.
|
START
Lays out the elements at the start of the main axis container.
|
Modifier and Type | Method and Description |
---|---|
static Flex.Justify |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flex.Justify[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flex.Justify CENTER
public static final Flex.Justify END
public static final Flex.Justify SPACE_AROUND
public static final Flex.Justify SPACE_BETWEEN
public static final Flex.Justify START
public static Flex.Justify 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.Justify[] values()
for (Flex.Justify c : Flex.Justify.values()) System.out.println(c);