Package com.spinyowl.legui.style.flex
Enum Class FlexStyle.AlignContent
- All Implemented Interfaces:
Serializable,Comparable<FlexStyle.AlignContent>,Constable
- Enclosing class:
- FlexStyle
Specifies the alignment between the lines inside a flexible container when the items do not use
all available space.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLines are packed toward the center of the flex container.Lines are packed toward the end of the flex container.Lines are packed toward the start of the flex container.Inherits this property from its parent element..Sets this property to its default value.Lines are evenly distributed in the flex container, with half-size spaces on either end.Lines are evenly distributed in the flex container.Default value. -
Method Summary
Modifier and TypeMethodDescriptionstatic FlexStyle.AlignContentReturns the enum constant of this class with the specified name.static FlexStyle.AlignContent[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRETCH
Default value. Lines stretch to take up the remaining space. -
CENTER
Lines are packed toward the center of the flex container. -
FLEX_START
Lines are packed toward the start of the flex container. -
FLEX_END
Lines are packed toward the end of the flex container. -
SPACE_BETWEEN
Lines are evenly distributed in the flex container. -
SPACE_AROUND
Lines are evenly distributed in the flex container, with half-size spaces on either end. -
INITIAL
Sets this property to its default value. -
INHERIT
Inherits this property from its parent element..
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-