com.vaadin.flow.component.orderedlayout.
Enum Class FlexLayout.FlexWrap
All Implemented Interfaces:
Enclosing class:
Possible values for the flex-wrap
CSS property, which determines
how the elements inside the layout should behave when they don't fit
inside the layout.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIf the items use up too much space they will overflow.
If items are not able to fit into a single row they are allowed to wrap into a follow up line.
If items are not able to fit into a single row they are allowed to wrap into a follow up line.
-
Method Summary
Modifier and TypeMethodDescriptionstatic FlexLayout.FlexWrap
Returns the enum constant of this class with the specified name.
static FlexLayout.FlexWrap[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOWRAP
If the items use up too much space they will overflow.
-
WRAP
If items are not able to fit into a single row they are allowed to wrap into a follow up line.
-
WRAP_REVERSE
If items are not able to fit into a single row they are allowed to wrap into a follow up line. Additionally the order of the items will be reversed.
-
-
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
-