public abstract class HandlesAllTouchEvents extends 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.
|
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 sourceCopyright © 2018. All rights reserved.