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