public class KeyboardEventImpl extends UIEventImpl
Modifier and Type | Field and Description |
---|---|
static int |
KEY_LOCATION_LEFT |
static int |
KEY_LOCATION_NUMPAD |
static int |
KEY_LOCATION_RIGHT |
static int |
KEY_LOCATION_STANDARD |
AT_TARGET, BLUR, BUBBLING_PHASE, CAPTURING_PHASE, CHANGE, CLICK, DBLCLICK, DRAGDROP, FOCUS, KEYDOWN, KEYPRESS, KEYUP, MOUSEDOWN, MOUSEDRAG, MOUSEMOVE, MOUSEOUT, MOUSEOVER, MOUSEUP, NONE, SELECT
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
Modifier and Type | Method and Description |
---|---|
boolean |
getAltGraphKey() |
boolean |
getAltKey() |
int |
getCharCode() |
boolean |
getCtrlKey() |
int |
getKeyCode() |
String |
getKeyIdentifier() |
int |
getKeyLocation() |
int |
getLocation() |
boolean |
getMetaKey() |
boolean |
getModifierState(String keyIdentifierArg) |
boolean |
getShiftKey() |
void |
initKeyboardEvent(String type,
boolean canBubble,
boolean cancelable,
AbstractView view,
String keyIdentifier,
int location,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
boolean altGraphKey) |
void |
initKeyboardEventEx(String type,
boolean canBubble,
boolean cancelable,
AbstractView view,
String keyIdentifier,
int location,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey) |
getDetail, getLayerX, getLayerY, getPageX, getPageY, getView, getWhich, initUIEvent
equals, getBubbles, getCancelable, getCancelBubble, getCurrentTarget, getDefaultPrevented, getEventPhase, getIsTrusted, getReturnValue, getSrcElement, getTarget, getTimeStamp, getType, hashCode, initEvent, preventDefault, setCancelBubble, setReturnValue, stopImmediatePropagation, stopPropagation
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
public static final int KEY_LOCATION_STANDARD
public static final int KEY_LOCATION_LEFT
public static final int KEY_LOCATION_RIGHT
public static final int KEY_LOCATION_NUMPAD
public String getKeyIdentifier()
public int getLocation()
public int getKeyLocation()
public boolean getCtrlKey()
public boolean getShiftKey()
public boolean getAltKey()
public boolean getMetaKey()
public boolean getAltGraphKey()
public int getKeyCode()
getKeyCode
in class UIEventImpl
public int getCharCode()
getCharCode
in class UIEventImpl
public boolean getModifierState(String keyIdentifierArg)
public void initKeyboardEvent(String type, boolean canBubble, boolean cancelable, AbstractView view, String keyIdentifier, int location, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, boolean altGraphKey)
public void initKeyboardEventEx(String type, boolean canBubble, boolean cancelable, AbstractView view, String keyIdentifier, int location, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey)
Copyright © 2020. All rights reserved.