Enum Class FormLayout.LabelTextAlign
java.lang.Object
java.lang.Enum<FormLayout.LabelTextAlign>
com.vaadin.flow.component.formlayout.FormLayout.LabelTextAlign
- All Implemented Interfaces:
Serializable,Comparable<FormLayout.LabelTextAlign>,Constable
- Enclosing class:
FormLayout
Enum for describing the text alignment that is applied to labels when
they are positioned next to fields.
- Since:
- 25.4
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic FormLayout.LabelTextAlignReturns the enum constant of this class with the specified name.static FormLayout.LabelTextAlign[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START
Aligns the label to the start of the label area (left in LTR, right in RTL). -
CENTER
Aligns the label to the center of the label area. -
END
Aligns the label to the end of the label area (right in LTR, left in RTL).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-