|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use KeyProcessor | |
---|---|
mome.keyb | This package is intended to associate key (game action) or sequence of keys and/or game actions with command and issue it to the commands execution thread. |
Uses of KeyProcessor in mome.keyb |
---|
Methods in mome.keyb that return KeyProcessor | |
---|---|
protected KeyProcessor |
XCanvas.getKeyProcessor()
Returns KeyProcessor invoked to map keys or sequences of keys
pressed to commands. |
Methods in mome.keyb with parameters of type KeyProcessor | |
---|---|
void |
KeyProcessor.addAltKey(int key,
KeyProcessor processor)
Adds alt key (alt game action) - KeyProcessor association or
removes it if processor is null . |
void |
XCanvas.setKeyProcessor(KeyProcessor keyProc)
Sets KeyProcessor to be used to map keys or sequences of keys
pressed to commands. |
Constructors in mome.keyb with parameters of type KeyProcessor | |
---|---|
KeyProcessor(Canvas owner,
int[] keys,
Object[] cmds,
int[] altKeys,
KeyProcessor[] processors)
Instantiates KeyProcessor with given canvas. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |