DOWN, ENTER, ESCAPE, KEY_PRESSED, KEY_PRESSED_AND_RELEASED, KEY_RELEASED, LEFT, RIGHT, UP| Constructor and Description |
|---|
RemoteKey(RMIKey key,
RemoteKeys keys,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyListener(KeyListener listener) |
void |
callListeners() |
int |
getId() |
java.lang.String |
getName() |
boolean |
isDown() |
boolean |
isUp() |
void |
simulateEvent(int event) |
void |
waitForPress() |
void |
waitForPressAndRelease() |
public RemoteKey(RMIKey key, RemoteKeys keys, java.lang.String name)
public void waitForPress()
waitForPress in interface Keypublic void waitForPressAndRelease()
waitForPressAndRelease in interface Keypublic void addKeyListener(KeyListener listener)
addKeyListener in interface Keypublic void simulateEvent(int event)
simulateEvent in interface Keypublic void callListeners()