|
GF4J 0.9.4 Beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the interface to an input engine that is used to get to the input devices in the system. The engine allows usage of both polled implementations of one device. Implementations should only create one instance of a polled device (as it can be shared).
Method Summary | |
KeyboardDevice[] |
getAllKeyboardDevices()
Returns all keyboard type of devices found on the system as polled devices (whenever the program that wants to know about the state of the device it must ask it from the device). |
PointerDevice[] |
getAllPointerDevices()
Returns all pointer type of devices found on the system as polled devices (whenever the program that wants to know about the state of the device it must ask it from the device). |
KeyboardDevice |
getDefaultKeyboardDevice()
Returns the default keyboard type of device in the system as polled device (whenever the program that wants to know about the state of the device it must ask it from the device). |
PointerDevice |
getDefaultPointerDevice()
Returns the default pointer type of device in the system as an polled device (whenever the program that wants to know about the state of the device it must ask it from the device). |
java.lang.String |
getDescription()
Returns the (possibly multiline) description of the implementation. |
java.lang.String |
getName()
Returns the short name (max 8 characters) of the implementation e.g. |
Method Detail |
public KeyboardDevice[] getAllKeyboardDevices() throws GameFrameException
GameFrameException
- Thrown if errors occur while enumerating the keyboard devices.KeyboardDevice
public KeyboardDevice getDefaultKeyboardDevice() throws GameFrameException
GameFrameException
- Thrown if errors occur while getting the default keyboard device.KeyboardDevice
public PointerDevice[] getAllPointerDevices() throws GameFrameException
GameFrameException
- Thrown if errors occur while enumerating the pointer devices.PointerDevice
public PointerDevice getDefaultPointerDevice() throws GameFrameException
GameFrameException
- Thrown if errors occur while getting the default pointer device.PointerDevice
public java.lang.String getName()
public java.lang.String getDescription()
|
GF4J 0.9.4 Beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |