public enum ScrollEventType extends java.lang.Enum<ScrollEventType>
Enum Constant and Description |
---|
BEGIN_DRAG |
END_DRAG |
MOMENTUM_BEGIN |
MOMENTUM_END |
SCROLL |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getJSEventName(ScrollEventType type) |
static ScrollEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScrollEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScrollEventType BEGIN_DRAG
public static final ScrollEventType END_DRAG
public static final ScrollEventType SCROLL
public static final ScrollEventType MOMENTUM_BEGIN
public static final ScrollEventType MOMENTUM_END
public static ScrollEventType[] values()
for (ScrollEventType c : ScrollEventType.values()) System.out.println(c);
public static ScrollEventType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.lang.String getJSEventName(ScrollEventType type)