|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectabbot.tester.KeyStrokeMap
Map characters to the keycodes (and modifiers) required to generate them.
Java doesn't (yet) provide any info as to what these mappings are, so fake it.
Note that most VMs generate KEY_TYPED events for control and alt characters.
Method Summary | |
static char |
getChar(KeyStroke ks)
Given a keycode-based KeyStroke, return the equivalent character. |
static KeyStroke |
getKeyStroke(char ch)
Return the keycode-based KeyStroke corresponding to the given character, as best we can guess it, or null if we don't know how to generate it. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static KeyStroke getKeyStroke(char ch)
public static char getChar(KeyStroke ks)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |