public interface GestureRecognizer
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Ends recognition of the gesture, and fires any cancel events that apply.
|
List<TouchData> |
getTouches()
Gets all actively recognized touches that are being recognized by this gesture.
|
boolean |
handle(NativeEvent event)
Takes a browser event, and checks to see if it should decipher a gesture from it.
|
void |
setDelegate(HasHandlers eventDelegate)
Sets delegate to receive Gesture events
|
void |
start(List<TouchData> touches)
Artificially starts a gesture
|
void cancel()
List<TouchData> getTouches()
boolean handle(NativeEvent event)
event
- the browser event to read for a gesture.void setDelegate(HasHandlers eventDelegate)
eventDelegate
- Copyright © 2018. All rights reserved.