public static enum FlexLayout.ContentAlignment extends Enum<FlexLayout.ContentAlignment>
align-items
CSS property.Enum Constant and Description |
---|
CENTER
Items are positioned at the center of the container.
|
END
Items are positioned at the end of the container.
|
SPACE_AROUND
Items are distributed evenly inside the container.
|
SPACE_BETWEEN
Items are distributed evenly inside the container.
|
START
Items are positioned at the beginning of the container.
|
STRETCH
Items are stretched to fit the container.
|
Modifier and Type | Method and Description |
---|---|
static FlexLayout.ContentAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlexLayout.ContentAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlexLayout.ContentAlignment START
public static final FlexLayout.ContentAlignment END
public static final FlexLayout.ContentAlignment CENTER
public static final FlexLayout.ContentAlignment STRETCH
public static final FlexLayout.ContentAlignment SPACE_BETWEEN
public static final FlexLayout.ContentAlignment SPACE_AROUND
public static FlexLayout.ContentAlignment[] values()
for (FlexLayout.ContentAlignment c : FlexLayout.ContentAlignment.values()) System.out.println(c);
public static FlexLayout.ContentAlignment 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 © 2025. All rights reserved.