T
- @JsType(isNative=true, name="Event", namespace="<global>") public class NativeEvent<T> extends JsObject
Modifier and Type | Field and Description |
---|---|
static int |
AT_TARGET |
static int |
BUBBLING_PHASE |
static int |
CAPTURING_PHASE |
static int |
NONE |
Constructor and Description |
---|
NativeEvent() |
Modifier and Type | Method and Description |
---|---|
boolean |
getCancelBubble() |
T |
getCurrentTarget() |
NativeEventPhase |
getEventPhase() |
String |
getEventType() |
int |
getNativeEventPhase() |
Object |
getTarget() |
int |
getTimeStamp() |
String |
getType() |
boolean |
isBubbles() |
boolean |
isCancellable() |
boolean |
isDefaultPrevented() |
boolean |
isTrusted() |
void |
preventDefault() |
void |
setCancelBubble(boolean cancelBubble) |
void |
stopImmediatePropagation() |
void |
stopPropagation() |
cast, getOwnPropertyNames, hasOwnProperty, observe
@JsOverlay public static final int NONE
@JsOverlay public static final int CAPTURING_PHASE
@JsOverlay public static final int AT_TARGET
@JsOverlay public static final int BUBBLING_PHASE
@JsProperty public boolean isBubbles()
@JsProperty(name="cancellable") public boolean isCancellable()
@JsProperty(name="currentTarget") public T getCurrentTarget()
@JsProperty(name="defaultPrevented") public boolean isDefaultPrevented()
@JsOverlay public final NativeEventPhase getEventPhase()
@JsProperty(name="eventPhase") public int getNativeEventPhase()
@JsProperty public Object getTarget()
@JsProperty(name="timeStamp") public int getTimeStamp()
@JsProperty public String getEventType()
@JsProperty(name="isTrusted") public boolean isTrusted()
@JsProperty(name="type") public String getType()
public void stopPropagation()
public void stopImmediatePropagation()
public void preventDefault()
@JsProperty(name="cancelBubble") public boolean getCancelBubble()
@JsProperty(name="cancelBubble") public void setCancelBubble(boolean cancelBubble)
Copyright © 2018 Xalys. All rights reserved.