hmi.util
Class InputState.Key
java.lang.Object
hmi.util.InputState.Key
- Enclosing class:
- InputState
public static class InputState.Key
- extends Object
A InputState.Key defines a virtual key code and a key location.
The virtual key code is just one of the java.awt.event.KeyEvent
virtual key codes, like "KeyEvent.VK_UP" for the "up" cursor key.
The location is a InputState defined mask, obtained by "or-in"
some of the constants S, N, L, R. (The A constant is already defined as S|N|L|R)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vkCode
private int vkCode
locationMask
private int locationMask
InputState.Key
public InputState.Key(int vkCode,
int locationMask)
getVkCode
public int getVkCode()
getLocationMask
public int getLocationMask()