public static enum Flex.Align extends Enum<Flex.Align>
Enum Constant and Description |
---|
CENTER
Lays out the children based on the center alignment on the cross axis.
|
END
Lays out the children based on the end of the container.
|
START
Lays out the children based on the start of the container.
|
STRETCH
Stretches the widget cross size to fill all the remaining space.
|
Modifier and Type | Method and Description |
---|---|
static Flex.Align |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flex.Align[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flex.Align CENTER
public static final Flex.Align END
public static final Flex.Align START
public static final Flex.Align STRETCH
public static Flex.Align 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.Align[] values()
for (Flex.Align c : Flex.Align.values()) System.out.println(c);