Package io.jmix.ui.component
Enum Class ResponsiveGridLayout.JustifyContent
java.lang.Object
java.lang.Enum<ResponsiveGridLayout.JustifyContent>
io.jmix.ui.component.ResponsiveGridLayout.JustifyContent
- All Implemented Interfaces:
- Serializable,- Comparable<ResponsiveGridLayout.JustifyContent>,- Constable
- Enclosing interface:
- ResponsiveGridLayout
public static enum ResponsiveGridLayout.JustifyContent
extends Enum<ResponsiveGridLayout.JustifyContent>
Represents the default behavior for how flex items are laid out along the main axis on the current row.
 
 Corresponds to the justify-content CSS attribute.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionItems are evenly distributed in the line with equal space around them.Items are evenly distributed in the line.Items are centered along the line.Items are packed toward the end of the flex-direction.Items are packed toward the start of the flex-direction.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ResponsiveGridLayout.JustifyContent[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
STARTItems are packed toward the start of the flex-direction.Corresponds to the .justify-content-startstyle.
- 
CENTERItems are centered along the line.Corresponds to the .justify-content-centerstyle.
- 
ENDItems are packed toward the end of the flex-direction.Corresponds to the .justify-content-endstyle.
- 
AROUNDItems are evenly distributed in the line with equal space around them.Note that visually the spaces aren't equal, since all the items have equal space on both sides. The first item will have one unit of space against the container edge, but two units of space between the next item because that next item has its own spacing that applies. Corresponds to the .justify-content-aroundstyle.
- 
BETWEENItems are evenly distributed in the line. First item is on the start line, last item on the end line.Corresponds to the .justify-content-betweenstyle.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-