H
- @JsType(isNative=true, name="TouchEvent", namespace="<global>") public class NativeTouchEvent<H extends HTMLElement<H>> extends NativeUIEvent<H>
Modifier and Type | Class and Description |
---|---|
static class |
NativeTouchEvent.Touch<E extends HTMLElement<E>> |
static class |
NativeTouchEvent.TouchList<W extends HTMLElement<W>> |
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE, NONE
Constructor and Description |
---|
NativeTouchEvent() |
Modifier and Type | Method and Description |
---|---|
NativeTouchEvent.TouchList<H> |
getChangedTouches() |
NativeTouchEvent.TouchList<H> |
getTargetTouches() |
<H extends HTMLElement<H>> |
getTouches() |
boolean |
isAltKey() |
boolean |
isCtrlKey() |
boolean |
isMetaKey() |
boolean |
isShiftKey() |
getDetail, getView
getCancelBubble, getCurrentTarget, getEventPhase, getEventType, getNativeEventPhase, getTarget, getTimeStamp, getType, isBubbles, isCancellable, isDefaultPrevented, isTrusted, preventDefault, setCancelBubble, stopImmediatePropagation, stopPropagation
cast, getOwnPropertyNames, hasOwnProperty, observe
@JsProperty(name="altKey") public boolean isAltKey()
@JsProperty(name="changedTouches") public NativeTouchEvent.TouchList<H> getChangedTouches()
@JsProperty(name="ctrlKey") public boolean isCtrlKey()
@JsProperty(name="metaKey") public boolean isMetaKey()
@JsProperty(name="shiftKey") public boolean isShiftKey()
@JsProperty(name="targetTouches") public NativeTouchEvent.TouchList<H> getTargetTouches()
@JsProperty(name="touches") public <H extends HTMLElement<H>> NativeTouchEvent.TouchList<H> getTouches()
Copyright © 2018 Xalys. All rights reserved.