|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InputDevice
Represents a virtual Input device. An input device has an arbitrary number of listeners that are provided with (textual) user input. An input device can be enabled or disabled. A disabled input device will not provide its listeners with input.
| Nested Class Summary | |
|---|---|
static interface |
InputDevice.Listener
|
| Method Summary | |
|---|---|
boolean |
addInputListener(InputDevice.Listener l)
Adds an input listener to the virtual input device. |
boolean |
isEnabled()
Determines whether this input device ist enabled or diabled. |
boolean |
removeInputListener(InputDevice.Listener l)
Removes an input listener from the virtual input device. |
void |
setEnabled(boolean enabled)
Sets the virtual input device enabled or diabled. |
| Method Detail |
|---|
boolean addInputListener(InputDevice.Listener l)
l - the input listener to be added
boolean removeInputListener(InputDevice.Listener l)
l - the input listener to be removed
void setEnabled(boolean enabled)
enabled - true to enable, false to diableboolean isEnabled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||