Package com.spinyowl.legui.style.flex
Enum Class FlexStyle.AlignSelf
- All Implemented Interfaces:
Serializable,Comparable<FlexStyle.AlignSelf>,Constable
- Enclosing class:
- FlexStyle
Specifies the alignment for selected items inside a flexible container.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefault.The element is positioned at the baseline of the container.The element is positioned at the center of the container.The element is positioned at the end of the container.The element is positioned at the beginning of the container.Inherits this property from its parent element..Sets this property to its default value.The element is positioned to fit the container. -
Method Summary
Modifier and TypeMethodDescriptionstatic FlexStyle.AlignSelfReturns the enum constant of this class with the specified name.static FlexStyle.AlignSelf[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
Default. The element inherits its parent container's align-items property, or "stretch" if it has no parent container. -
STRETCH
The element is positioned to fit the container. -
CENTER
The element is positioned at the center of the container. -
FLEX_START
The element is positioned at the beginning of the container. -
FLEX_END
The element is positioned at the end of the container. -
BASELINE
The element is positioned at the baseline of the container. -
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
-