public static enum Scroller.ScrollDirection extends Enum<Scroller.ScrollDirection>
| Enum Constant and Description |
|---|
BOTH |
HORIZONTAL |
NONE |
VERTICAL |
| Modifier and Type | Method and 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.
|
public static final Scroller.ScrollDirection VERTICAL
public static final Scroller.ScrollDirection HORIZONTAL
public static final Scroller.ScrollDirection BOTH
public static final Scroller.ScrollDirection NONE
public static Scroller.ScrollDirection[] values()
for (Scroller.ScrollDirection c : Scroller.ScrollDirection.values()) System.out.println(c);
public static Scroller.ScrollDirection valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025. All rights reserved.