H
- The event handler typepublic abstract class KeyEvent<H extends EventHandler> extends DomEvent<H>
DomEvent.Type<H extends EventHandler>
Constructor and Description |
---|
KeyEvent() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAltKeyDown()
Is the
alt key down? |
boolean |
isAnyModifierKeyDown()
Does this event have any modifier keys down? Specifically.
|
boolean |
isControlKeyDown()
Is the
control key down? |
boolean |
isMetaKeyDown()
Is the
meta key down? |
boolean |
isShiftKeyDown()
Is the
shift key down? |
fireNativeEvent, fireNativeEvent, getAssociatedType, getNativeEvent, getRelativeElement, init, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
assertLive, dispatch, getSource, isLive, kill, revive
setSource, toDebugString, toString
public boolean isAltKeyDown()
alt
key down?public boolean isAnyModifierKeyDown()
public boolean isControlKeyDown()
control
key down?public boolean isMetaKeyDown()
meta
key down?public boolean isShiftKeyDown()
shift
key down?