public static enum FlexLayout.FlexWrap extends Enum<FlexLayout.FlexWrap>
flex-wrap
CSS property, which determines
how the elements inside the layout should behave when they don't fit
inside the layout.Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static FlexLayout.FlexWrap |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlexLayout.FlexWrap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlexLayout.FlexWrap NOWRAP
public static final FlexLayout.FlexWrap WRAP
public static final FlexLayout.FlexWrap WRAP_REVERSE
public static FlexLayout.FlexWrap[] values()
for (FlexLayout.FlexWrap c : FlexLayout.FlexWrap.values()) System.out.println(c);
public static FlexLayout.FlexWrap 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 © 2022. All rights reserved.