DOWN, ENTER, ESCAPE, KEY_PRESSED, KEY_PRESSED_AND_RELEASED, KEY_RELEASED, LEFT, RIGHT, UP| Constructor and Description |
|---|
RemoteRequestKey(java.io.ObjectInputStream is,
java.io.ObjectOutputStream os,
RemoteRequestKeys 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 RemoteRequestKey(java.io.ObjectInputStream is,
java.io.ObjectOutputStream os,
RemoteRequestKeys 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()