com.vaadin.flow.component.splitlayout.
Enum SplitLayout.Orientation
- java.lang.Object
-
- java.lang.Enum<SplitLayout.Orientation>
-
- com.vaadin.flow.component.splitlayout.SplitLayout.Orientation
-
All Implemented Interfaces:
Enclosing class:
public static enum SplitLayout.Orientation extends Enum<SplitLayout.Orientation>
numeration of all available orientation for VaadinSplitLayout component
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description HORIZONTAL
VERTICAL
-
Method Summary
All Methods Modifier and Type Method and Description static SplitLayout.Orientation
valueOf(String name)
Returns the enum constant of this type with the specified name.
static SplitLayout.Orientation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERTICAL
public static final SplitLayout.Orientation VERTICAL
-
HORIZONTAL
public static final SplitLayout.Orientation HORIZONTAL
-
-
Method Detail
-
values
public static SplitLayout.Orientation[] 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 (SplitLayout.Orientation c : SplitLayout.Orientation.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SplitLayout.Orientation 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
-
-