@JsType(namespace="jQuery",
name="Event",
isNative=true)
public class KeyEvent
extends Event
| Modifier and Type | Field and Description |
|---|---|
boolean |
altKey |
boolean |
bubbles |
boolean |
cancelable |
String |
charCode |
boolean |
ctrlKey |
int |
keyCode |
boolean |
shiftKey |
int |
which |
currentTarget, data, defaultPrevented, delegateTarget, immediatePropagationStopped, metaKey, namespace, propagationStopped, relatedTarget, result, timeStamp, type| Modifier and Type | Method and Description |
|---|---|
String |
getCharCode() |
int |
getKeyCode() |
int |
getWhich() |
boolean |
isAltKey() |
boolean |
isBubbles() |
boolean |
isCancelable() |
boolean |
isCtrlKey() |
boolean |
isShiftKey() |
getCurrentTarget, getData, getDelegateTarget, getMetaKey, getNamespace, getRelatedTarget, getResult, getTimeStamp, getType, preventDefault, stopImmediatePropagation, stopPropagation@JsProperty public int which
@JsProperty public int keyCode
@JsProperty public boolean shiftKey
@JsProperty public boolean ctrlKey
@JsProperty public boolean altKey
@JsProperty public boolean cancelable
@JsProperty public boolean bubbles
@JsOverlay public final int getWhich()
@JsOverlay public final int getKeyCode()
@JsOverlay public final String getCharCode()
@JsOverlay public final boolean isShiftKey()
@JsOverlay public final boolean isCtrlKey()
@JsOverlay public final boolean isAltKey()
@JsOverlay public final boolean isCancelable()
@JsOverlay public final boolean isBubbles()
Copyright © 2017. All rights reserved.