public class ScrollEvent extends Event
Event.Type<H>
Modifier and Type | Field and Description |
---|---|
static int |
SCROLL_DOWN
type thrown when scroll down
|
static int |
SCROLL_END
type thrown when scroll ends
|
static int |
SCROLL_LEFT
type thrown when scroll left
|
static int |
SCROLL_ON_BOTTOM
type thrown when scroll reachs the content bottom
|
static int |
SCROLL_ON_LEFT
type thrown when scroll reachs content left side
|
static int |
SCROLL_ON_RIGHT
type thrown when scroll reachs the content right side
|
static int |
SCROLL_ON_TOP
type thrown when scroll reachs the content top
|
static int |
SCROLL_RIGHT
type thrown when scroll right
|
static int |
SCROLL_START
type thrown on scroll starts
|
static int |
SCROLL_UP
type thrown when scroll up
|
Constructor and Description |
---|
ScrollEvent(int type)
Contructor
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(EventHandler listener) |
clearQueue, getNextAvailableEventId, isAvailable, toString, touch
public static final int SCROLL_ON_TOP
public static final int SCROLL_START
public static final int SCROLL_END
public static final int SCROLL_ON_LEFT
public static final int SCROLL_ON_RIGHT
public static final int SCROLL_ON_BOTTOM
public static final int SCROLL_UP
public static final int SCROLL_LEFT
public static final int SCROLL_RIGHT
public static final int SCROLL_DOWN
public ScrollEvent(int type)
type
- This param must be one the type defined
, i.e, ScrollEvent.SCROLL_ON_TOPpublic void dispatch(EventHandler listener)