public abstract class KyEvent extends InputEvent
It is named KyEvent rather than KeyEvent to avoid name
clashes with the KeyEvent hierarchy.
| Constructor and Description |
|---|
KyEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
char character,
KeyCode code) |
| Modifier and Type | Method and Description |
|---|---|
Accelerator |
getAccelerator()
Converts the key event into a corresponding accelerator.
|
char |
getCharacter() |
KeyCode |
getCode() |
String |
toString() |
getModifiers, getX, getYgetDisplayconsume, dumpStack, getCallingThread, getStackTrace, isConsumed, setCallingThread, setConsumedcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetContextpublic KyEvent(Display<?> display, InputModifiers modifiers, int x, int y, char character, KeyCode code)
public char getCharacter()
public KeyCode getCode()
public Accelerator getAccelerator()
public String toString()
toString in class InputEventCopyright © 2015–2022 SciJava. All rights reserved.