public enum JustifyContent extends Enum<JustifyContent>
| Enum Constant and Description |
|---|
center |
flexEnd |
flexStart |
spaceAround |
spaceBetween |
| Modifier and Type | Field and Description |
|---|---|
static String |
CENTER |
static String |
FLEX_END |
static String |
FLEX_START |
static String |
SPACE_AROUND |
static String |
SPACE_BETWEEN |
| Modifier and Type | Method and Description |
|---|---|
static JustifyContent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JustifyContent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JustifyContent flexStart
public static final JustifyContent flexEnd
public static final JustifyContent center
public static final JustifyContent spaceBetween
public static final JustifyContent spaceAround
public static final String FLEX_START
public static final String FLEX_END
public static final String CENTER
public static final String SPACE_BETWEEN
public static final String SPACE_AROUND
public static JustifyContent[] values()
for (JustifyContent c : JustifyContent.values()) System.out.println(c);
public static JustifyContent 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 © 2002–2022 The Apache Software Foundation. All rights reserved.