com.maryanovsky.gwtutils.client.iphone.ui.touch
Class NativeTouchEvent
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.dom.client.NativeEvent
com.maryanovsky.gwtutils.client.iphone.ui.touch.NativeTouchEvent
public class NativeTouchEvent
- extends NativeEvent
A JavaScript overlay type for native touch events.
- Author:
- Maryanovsky Alexander
|
Constructor Summary |
protected |
NativeTouchEvent()
Protected constructor, required for JavaScript overlay types. |
| Methods inherited from class com.google.gwt.dom.client.NativeEvent |
getAltKey, getButton, getClientX, getClientY, getCtrlKey, getCurrentEventTarget, getEventTarget, getKeyCode, getMetaKey, getMouseWheelVelocityY, getRelatedEventTarget, getScreenX, getScreenY, getShiftKey, getString, getType, preventDefault, stopPropagation |
NativeTouchEvent
protected NativeTouchEvent()
- Protected constructor, required for JavaScript overlay types.
getTouches
public final JsArray<Touch> getTouches()
- Retrieves the list of touches for all fingers touching the screen.
getChangedTouches
public final JsArray<Touch> getChangedTouches()
- Retrieves the list of touches which changed.
getTargetTouches
public final JsArray<Touch> getTargetTouches()
- Retrieves the touches for the target element.