Package io.jmix.ui.component
Enum Class ResponsiveGridLayout.AlignSelf
- All Implemented Interfaces:
Serializable
,Comparable<ResponsiveGridLayout.AlignSelf>
,Constable
- Enclosing interface:
- ResponsiveGridLayout
Represents the default behavior for how individual flex item is laid out along the cross axis.
Corresponds to the align-self
CSS attribute.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionItem inherits its parent row'salign-items
property.Item is aligned such as their baselines align.Item is centered in the cross-axis.Item is placed at the end of the cross axis.Item is placed at the start of the cross axis.Stretch to fill the container. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ResponsiveGridLayout.AlignSelf[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
Item inherits its parent row'salign-items
property.Corresponds to the
.align-self-auto
style. -
START
Item is placed at the start of the cross axis.Corresponds to the
.align-self-start
style. -
CENTER
Item is centered in the cross-axis.Corresponds to the
.align-self-center
style. -
END
Item is placed at the end of the cross axis.Corresponds to the
.align-self-end
style. -
BASELINE
Item is aligned such as their baselines align.Corresponds to the
.align-self-baseline
style. -
STRETCH
Stretch to fill the container.Corresponds to the
.align-self-stretch
style.
-
-
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
-