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