Package ej.widget.container
Enum Flex.Justify
- java.lang.Object
-
- java.lang.Enum<Flex.Justify>
-
- ej.widget.container.Flex.Justify
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Flex.Justify>
- Enclosing class:
- Flex
public static enum Flex.Justify extends java.lang.Enum<Flex.Justify>
Enum representing the possible values for justifying the widget's start position on the cross axis.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CENTERLays out the elements at the center of the main axis container.ENDLays out the elements at the end of the main axis container.SPACE_AROUNDLays out the elements across the available space on the main axis, adding space before the first child and after the last one.SPACE_BETWEENLays out the elements across the available space on the main axis.STARTLays out the elements at the start of the main axis container.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Flex.JustifyvalueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
START
public static final Flex.Justify START
Lays out the elements at the start of the main axis container.
-
CENTER
public static final Flex.Justify CENTER
Lays out the elements at the center of the main axis container.
-
END
public static final Flex.Justify END
Lays out the elements at the end of the main axis container.
-
SPACE_BETWEEN
public static final Flex.Justify SPACE_BETWEEN
Lays out the elements across the available space on the main axis.
-
SPACE_AROUND
public static final Flex.Justify 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.
-
-
Method Detail
-
values
public static Flex.Justify[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Flex.Justify c : Flex.Justify.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Flex.Justify valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-