public abstract class HandlesAllTouchEvents extends java.lang.Object implements TouchStartHandler, TouchMoveHandler, TouchEndHandler, TouchCancelHandler
Constructor and Description |
---|
HandlesAllTouchEvents()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
handle(HasAllTouchHandlers eventSource)
Convenience method to handle all touch events from an event source.
|
static <H extends TouchStartHandler & TouchMoveHandler & TouchEndHandler & TouchCancelHandler> |
handle(HasAllTouchHandlers source,
H reciever)
Convenience method used to handle all touch events from an event source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onTouchStart
onTouchMove
onTouchEnd
onTouchCancel
public static <H extends TouchStartHandler & TouchMoveHandler & TouchEndHandler & TouchCancelHandler> void handle(HasAllTouchHandlers source, H reciever)
H
- receiver type, must implement all touch handlerssource
- the event sourcereciever
- the receiver implementing all touch handlerspublic void handle(HasAllTouchHandlers eventSource)
eventSource
- the event source