|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<H>
com.google.gwt.event.dom.client.DomEvent<H>
com.google.gwt.event.dom.client.HumanInputEvent<H>
com.google.gwt.event.dom.client.TouchEvent<H>
H
- handler typepublic abstract class TouchEvent<H extends EventHandler>
Abstract class representing touch events. See Safari Touch Event Documentation
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.event.dom.client.DomEvent |
---|
DomEvent.Type<H extends EventHandler> |
Constructor Summary | |
---|---|
TouchEvent()
|
Method Summary | |
---|---|
JsArray<Touch> |
getChangedTouches()
Get an array of touches which have changed since the last
touch event fired. |
JsArray<Touch> |
getTargetTouches()
Get an array of touches all touch which originated at the
same target as the current touch event. |
JsArray<Touch> |
getTouches()
Get an array of all current touches . |
static boolean |
isSupported()
Runtime check for whether touch scrolling is supported in this browser. |
Methods inherited from class com.google.gwt.event.dom.client.HumanInputEvent |
---|
isAltKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDown |
Methods inherited from class com.google.gwt.event.dom.client.DomEvent |
---|
fireNativeEvent, fireNativeEvent, getAssociatedType, getNativeEvent, getRelativeElement, init, preventDefault, setNativeEvent, setRelativeElement, stopPropagation |
Methods inherited from class com.google.gwt.event.shared.GwtEvent |
---|
assertLive, dispatch, getSource, isLive, kill, revive |
Methods inherited from class com.google.web.bindery.event.shared.Event |
---|
setSource, toDebugString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TouchEvent()
Method Detail |
---|
public static boolean isSupported()
public JsArray<Touch> getChangedTouches()
touches
which have changed since the last
touch event fired. Note, that for touch end events
,
the touch which has just ended will not be present in the array. Moreover,
if the touch which just ended was the last remaining touch, then a zero
length array will be returned.
public JsArray<Touch> getTargetTouches()
touches
all touch which originated at the
same target as the current touch event. Note, that for touch end events
, the touch which has just ended will not be present in
the array. Moreover, if the touch which just ended was the last remaining
touch, then a zero length array will be returned.
public JsArray<Touch> getTouches()
touches
. Note, that for
touch end events
, the touch which has just ended will
not be present in the array. Moreover, if the touch which just ended was
the last remaining touch, then a zero length array will be returned.
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |