H
- W
- public abstract class KeyboardEvent<H extends EventHandler,W extends Widget<?,?>> extends UIEvent<H,NativeKeyboardEvent<?>>
UIEvent.HasBrowserEvent, UIEvent.UIType<H extends EventHandler>
Event.Type<H extends EventHandler>
Constructor and Description |
---|
KeyboardEvent() |
Modifier and Type | Method and Description |
---|---|
KeyCode |
getCode() |
String |
getKey() |
String |
getLocale() |
KeyLocation |
getLocation() |
boolean |
getModifierState(String keyArg) |
NativeKeyboardEvent<?> |
getNativeEvent() |
boolean |
isAltKey() |
boolean |
isComposing() |
boolean |
isCtrlKey() |
boolean |
isEnterKey() |
boolean |
isMetaKey() |
boolean |
isRepeat() |
boolean |
isShiftKey() |
dispatch, getEventPhase, isInEventThread, preventDefault, setNativeEvent, stopImmediatePropagation, stopPropagation
assertLive, cast, checkIsInEventThread, getSource, getType, isLive, isPreventDefault, isStopPropagation, kill, releaseCapture, revive, setCapture, setCapture, setSource
public boolean isAltKey()
public KeyCode getCode()
public boolean isCtrlKey()
public boolean isComposing()
public String getKey()
public String getLocale()
public KeyLocation getLocation()
public boolean isMetaKey()
public boolean isRepeat()
public boolean isShiftKey()
public boolean getModifierState(String keyArg)
public NativeKeyboardEvent<?> getNativeEvent()
getNativeEvent
in interface HasNativeEvent<NativeKeyboardEvent<?>>
getNativeEvent
in class UIEvent<H extends EventHandler,NativeKeyboardEvent<?>>
public boolean isEnterKey()
Copyright © 2018 Xalys. All rights reserved.