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, SELECTAT_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, initUIEventequals, getBubbles, getCancelable, getCancelBubble, getCurrentTarget, getDefaultPrevented, getEventPhase, getIsTrusted, getReturnValue, getSrcElement, getTarget, getTimeStamp, getType, hashCode, initEvent, preventDefault, setCancelBubble, setReturnValue, stopImmediatePropagation, stopPropagationclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagationpublic 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 UIEventImplpublic int getCharCode()
getCharCode in class UIEventImplpublic 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 © 2025. All rights reserved.