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