public static enum ResponsiveGridLayout.AlignItems extends java.lang.Enum<ResponsiveGridLayout.AlignItems>
Corresponds to the align-items
CSS attribute.
Enum Constant and Description |
---|
BASELINE
Items are aligned such as their baselines align.
|
CENTER
Items are centered in the cross-axis.
|
END
Items are placed at the end of the cross axis.
|
START
Items are placed at the start of the cross axis.
|
STRETCH
Stretch to fill the container.
|
Modifier and Type | Method and Description |
---|---|
static ResponsiveGridLayout.AlignItems |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResponsiveGridLayout.AlignItems[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponsiveGridLayout.AlignItems START
Corresponds to the .align-items-start
style.
public static final ResponsiveGridLayout.AlignItems CENTER
Corresponds to the .align-items-center
style.
public static final ResponsiveGridLayout.AlignItems END
Corresponds to the .align-items-end
style.
public static final ResponsiveGridLayout.AlignItems BASELINE
Corresponds to the .align-items-baseline
style.
public static final ResponsiveGridLayout.AlignItems STRETCH
Corresponds to the .align-items-stretch
style.
public static ResponsiveGridLayout.AlignItems[] values()
for (ResponsiveGridLayout.AlignItems c : ResponsiveGridLayout.AlignItems.values()) System.out.println(c);
public static ResponsiveGridLayout.AlignItems valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null