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
Enum Constants -
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-startstyle. -
CENTER
Items are centered in the cross-axis.Corresponds to the
.align-items-centerstyle. -
END
Items are placed at the end of the cross axis.Corresponds to the
.align-items-endstyle. -
BASELINE
Items are aligned such as their baselines align.Corresponds to the
.align-items-baselinestyle. -
STRETCH
Stretch to fill the container.Corresponds to the
.align-items-stretchstyle.
-
-
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
-