public static enum FlexComponent.JustifyContentMode extends Enum<FlexComponent.JustifyContentMode>
justify-content
CSS property.Enum Constant and Description |
---|
AROUND
Items are positioned with space before, between, and after the lines.
|
BETWEEN
Items are positioned with space between the lines.
|
CENTER
Items are positioned at the center of the container.
|
END
Items are positioned at the end of the container.
|
EVENLY
Items have equal space around them.
|
START
Items are positioned at the beginning of the container.
|
Modifier and Type | Method and Description |
---|---|
static FlexComponent.JustifyContentMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlexComponent.JustifyContentMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlexComponent.JustifyContentMode START
public static final FlexComponent.JustifyContentMode END
public static final FlexComponent.JustifyContentMode CENTER
public static final FlexComponent.JustifyContentMode BETWEEN
public static final FlexComponent.JustifyContentMode AROUND
public static final FlexComponent.JustifyContentMode EVENLY
public static FlexComponent.JustifyContentMode[] values()
for (FlexComponent.JustifyContentMode c : FlexComponent.JustifyContentMode.values()) System.out.println(c);
public static FlexComponent.JustifyContentMode 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.