Package totalcross.ui.event
Class ScrollEvent
- java.lang.Object
-
- totalcross.ui.event.Event
-
- totalcross.ui.event.ScrollEvent
-
public class ScrollEvent extends Event
Event that decribes Every scroll event
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class totalcross.ui.event.Event
Event.Type<H>
-
-
Field Summary
Fields Modifier and Type Field Description static intSCROLL_DOWNtype thrown when scroll downstatic intSCROLL_ENDtype thrown when scroll endsstatic intSCROLL_LEFTtype thrown when scroll leftstatic intSCROLL_ON_BOTTOMtype thrown when scroll reachs the content bottomstatic intSCROLL_ON_LEFTtype thrown when scroll reachs content left sidestatic intSCROLL_ON_RIGHTtype thrown when scroll reachs the content right sidestatic intSCROLL_ON_TOPtype thrown when scroll reachs the content topstatic intSCROLL_RIGHTtype thrown when scroll rightstatic intSCROLL_STARTtype thrown on scroll startsstatic intSCROLL_UPtype thrown when scroll up
-
Constructor Summary
Constructors Constructor Description ScrollEvent(int type)Contructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispatch(EventHandler listener)-
Methods inherited from class totalcross.ui.event.Event
clearQueue, getNextAvailableEventId, isAvailable, toString, touch
-
-
-
-
Field Detail
-
SCROLL_ON_TOP
public static final int SCROLL_ON_TOP
type thrown when scroll reachs the content top- See Also:
- Constant Field Values
-
SCROLL_START
public static final int SCROLL_START
type thrown on scroll starts- See Also:
- Constant Field Values
-
SCROLL_END
public static final int SCROLL_END
type thrown when scroll ends- See Also:
- Constant Field Values
-
SCROLL_ON_LEFT
public static final int SCROLL_ON_LEFT
type thrown when scroll reachs content left side- See Also:
- Constant Field Values
-
SCROLL_ON_RIGHT
public static final int SCROLL_ON_RIGHT
type thrown when scroll reachs the content right side- See Also:
- Constant Field Values
-
SCROLL_ON_BOTTOM
public static final int SCROLL_ON_BOTTOM
type thrown when scroll reachs the content bottom- See Also:
- Constant Field Values
-
SCROLL_UP
public static final int SCROLL_UP
type thrown when scroll up- See Also:
- Constant Field Values
-
SCROLL_LEFT
public static final int SCROLL_LEFT
type thrown when scroll left- See Also:
- Constant Field Values
-
SCROLL_RIGHT
public static final int SCROLL_RIGHT
type thrown when scroll right- See Also:
- Constant Field Values
-
SCROLL_DOWN
public static final int SCROLL_DOWN
type thrown when scroll down- See Also:
- Constant Field Values
-
-
Method Detail
-
dispatch
public void dispatch(EventHandler listener)
-
-