public static enum FlexLayout.FlexDirection extends Enum<FlexLayout.FlexDirection>
flex-direction
CSS property, which
determines how the elements are placed inside the layout.Enum Constant and Description |
---|
COLUMN
The items are displayed vertically, as a column.
|
COLUMN_REVERSE
The items are displayed vertically, as a column in reverse order.
|
ROW
The items are displayed horizontally, as a row.
|
ROW_REVERSE
The items are displayed horizontally, as a row in reverse order.
|
Modifier and Type | Method and Description |
---|---|
static FlexLayout.FlexDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlexLayout.FlexDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlexLayout.FlexDirection ROW
public static final FlexLayout.FlexDirection ROW_REVERSE
public static final FlexLayout.FlexDirection COLUMN
public static final FlexLayout.FlexDirection COLUMN_REVERSE
public static FlexLayout.FlexDirection[] values()
for (FlexLayout.FlexDirection c : FlexLayout.FlexDirection.values()) System.out.println(c);
public static FlexLayout.FlexDirection valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.