com.vaadin.flow.component.orderedlayout.
Enum FlexLayout.ContentAlignment
- java.lang.Object
 - 
- java.lang.Enum<FlexLayout.ContentAlignment>
 - 
- com.vaadin.flow.component.orderedlayout.FlexLayout.ContentAlignment
 
 
 
- 
All Implemented Interfaces:
Enclosing class:
public static enum FlexLayout.ContentAlignment extends Enum<FlexLayout.ContentAlignment>Enum with the possible values for the component alignment inside the layout. It correlates to the
align-itemsCSS property. 
- 
- 
Enum Constant Summary
Enum Constants Enum Constant and Description CENTERItems are positioned at the center of the container.
ENDItems are positioned at the end of the container.
SPACE_AROUNDItems are distributed evenly inside the container.
SPACE_BETWEENItems are distributed evenly inside the container.
STARTItems are positioned at the beginning of the container.
STRETCHItems are stretched to fit the container.
 
- 
Method Summary
All Methods Modifier and Type Method and Description static FlexLayout.ContentAlignmentvalueOf(String name)Returns the enum constant of this type with the specified name.
static FlexLayout.ContentAlignment[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
 - 
 
- 
- 
Enum Constant Detail
- 
START
public static final FlexLayout.ContentAlignment STARTItems are positioned at the beginning of the container.
 
- 
END
public static final FlexLayout.ContentAlignment ENDItems are positioned at the end of the container.
 
- 
CENTER
public static final FlexLayout.ContentAlignment CENTERItems are positioned at the center of the container.
 
- 
STRETCH
public static final FlexLayout.ContentAlignment STRETCHItems are stretched to fit the container.
 
- 
SPACE_BETWEEN
public static final FlexLayout.ContentAlignment SPACE_BETWEENItems are distributed evenly inside the container. The first item is flush with the start, the last is flush with the end.
 
- 
SPACE_AROUND
public static final FlexLayout.ContentAlignment SPACE_AROUNDItems are distributed evenly inside the container. Items have a half-size space on either end.
 
 - 
 
- 
Method Detail
- 
values
public static FlexLayout.ContentAlignment[] values()Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FlexLayout.ContentAlignment c : FlexLayout.ContentAlignment.values()) System.out.println(c);Returns:
an array containing the constants of this enum type, in the order they are declared
 
- 
valueOf
public static FlexLayout.ContentAlignment valueOf(String name)Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name- the name of the enum constant to be returned.Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null 
 - 
 
 -