com.vaadin.flow.component.orderedlayout.
Enum Class FlexComponent.JustifyContentMode
All Implemented Interfaces:
Serializable
, Comparable<FlexComponent.JustifyContentMode>
, Constable
Enclosing interface:
Enum with the possible values for the way the extra space inside the
layout is distributed among the components. It correlates to the
justify-content
CSS property.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionItems are positioned with space before, between, and after the lines.
Items are positioned with space between the lines.
Items are positioned at the center of the container.
Items are positioned at the end of the container.
Items have equal space around them.
Items are positioned at the beginning of the container.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.
static FlexComponent.JustifyContentMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START
Items are positioned at the beginning of the container.
-
END
Items are positioned at the end of the container.
-
CENTER
Items are positioned at the center of the container.
-
BETWEEN
Items are positioned with space between the lines.
-
AROUND
Items are positioned with space before, between, and after the lines.
-
EVENLY
Items have equal space around them.
-
-
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
-