Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary

Fields inherited from class com.google.gwt.dom.client.NativeEvent
`BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT`

Constructor Summary
`protected` | `NativeTouchEvent()` Protected constructor, required for JavaScript overlay types.

Method Summary
`JsArray<Touch>` | `getChangedTouches()` Retrieves the list of touches which changed.
`JsArray<Touch>` | `getTargetTouches()` Retrieves the touches for the target element.
`JsArray<Touch>` | `getTouches()` Retrieves the list of touches for all fingers touching the screen.

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`

Methods inherited from class com.google.gwt.core.client.JavaScriptObject
`cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### NativeTouchEvent

    protected NativeTouchEvent()

  Protected constructor, required for JavaScript overlay types.

Method Detail

### 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD