public static enum FlexComponent.Alignment extends Enum<FlexComponent.Alignment>
align-items
CSS property.Enum Constant and Description |
---|
AUTO
The element inherits its parent container's align-items property, or
"stretch" if it has no parent container.
|
BASELINE
Items are positioned at the baseline of the container.
|
CENTER
Items are positioned at the center of the container.
|
END
Items are positioned at the end of 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 FlexComponent.Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlexComponent.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlexComponent.Alignment START
public static final FlexComponent.Alignment END
public static final FlexComponent.Alignment CENTER
public static final FlexComponent.Alignment STRETCH
public static final FlexComponent.Alignment BASELINE
public static final FlexComponent.Alignment AUTO
public static FlexComponent.Alignment[] values()
for (FlexComponent.Alignment c : FlexComponent.Alignment.values()) System.out.println(c);
public static FlexComponent.Alignment 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.