public abstract class KeyEvent extends Event
| Modifier | Constructor and Description |
|---|---|
protected |
KeyEvent(String type) |
protected |
KeyEvent(String type,
BaseComponent target,
Object data) |
| Modifier and Type | Method and Description |
|---|---|
char |
getCharCode() |
String |
getKeycapture()
Returns the key capture representation of the typed key.
|
KeyCode |
getKeyCode() |
boolean |
isAltKey() |
boolean |
isCtrlKey() |
boolean |
isMetaKey() |
boolean |
isShiftKey() |
getCurrentTarget, getData, getPage, getRelatedTarget, getTarget, getTargetId, getType, isStopped, stopPropagationprotected KeyEvent(String type)
protected KeyEvent(String type, BaseComponent target, Object data)
public boolean isAltKey()
public boolean isCtrlKey()
public boolean isShiftKey()
public boolean isMetaKey()
public KeyCode getKeyCode()
public char getCharCode()
public String getKeycapture()
Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.