com.vaadin.flow.component.orderedlayout.
Enum Class FlexLayout.FlexDirection
All Implemented Interfaces:
Serializable
, Comparable<FlexLayout.FlexDirection>
, Constable
Enclosing class:
Possible values for the flex-direction
CSS property, which
determines how the elements are placed 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 ConstantDescriptionThe items are displayed vertically, as a column.
The items are displayed vertically, as a column in reverse order.
The items are displayed horizontally, as a row.
The items are displayed horizontally, as a row in reverse order.
-
Method Summary
Modifier and TypeMethodDescriptionstatic FlexLayout.FlexDirection
Returns the enum constant of this class with the specified name.
static FlexLayout.FlexDirection[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ROW
The items are displayed horizontally, as a row.
-
ROW_REVERSE
The items are displayed horizontally, as a row in reverse order.
-
COLUMN
The items are displayed vertically, as a column.
-
COLUMN_REVERSE
The items are displayed vertically, as a column in reverse order.
-
-
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
-