public class KeyboardEvent extends UIEvent
Event.ComposedPathArrayUnionType, Event.DeepPathFn
Modifier and Type | Field and Description |
---|---|
boolean |
altKey |
java.lang.String |
char_ |
java.lang.String |
code |
boolean |
ctrlKey |
java.lang.String |
key |
java.lang.String |
keyIdentifier |
java.lang.String |
locale |
int |
location |
boolean |
metaKey |
boolean |
repeat |
boolean |
shiftKey |
AT_TARGET, bubbles, BUBBLING_PHASE, cancelable, CAPTURING_PHASE, composed, currentTarget, deepPath, defaultPrevented, eventPhase, namespaceURI, path, target, timeStamp, type
Constructor and Description |
---|
KeyboardEvent(java.lang.String type) |
KeyboardEvent(java.lang.String type,
KeyboardEventInit eventInitDict) |
Modifier and Type | Method and Description |
---|---|
boolean |
getModifierState(java.lang.String keyIdentifierArg) |
void |
initKeyboardEvent(java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Window viewArg,
java.lang.String keyIdentifierArg,
int keyLocationArg,
java.lang.String modifiersList) |
initUIEvent
composedPath, initEvent, initEvent, initEvent, preventDefault, stopImmediatePropagation, stopPropagation
public boolean altKey
public java.lang.String char_
public java.lang.String code
public boolean ctrlKey
public java.lang.String key
public java.lang.String keyIdentifier
public java.lang.String locale
public int location
public boolean metaKey
public boolean repeat
public boolean shiftKey
public KeyboardEvent(java.lang.String type, KeyboardEventInit eventInitDict)
public KeyboardEvent(java.lang.String type)
public boolean getModifierState(java.lang.String keyIdentifierArg)
public void initKeyboardEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, Window viewArg, java.lang.String keyIdentifierArg, int keyLocationArg, java.lang.String modifiersList)