|
Aviatrix3D 2.2.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.renderer.aviatrix3d.device.input.keyboard.KeyboardManager
public class KeyboardManager
Manages Keyboard devices. Assumes only 1 device currently.
Constructor Summary | |
---|---|
KeyboardManager()
|
Method Summary | |
---|---|
void |
addDeviceListener(DeviceListener l)
Add a listener for devices additions and removals. |
InputDevice[] |
getDevices()
Get the device discovered by this manager. |
int |
getNumDevices()
Get the number of devices discovered. |
void |
removeDeviceListener(DeviceListener l)
Remove a listener for device additions and removals. |
void |
setErrorReporter(ErrorReporter reporter)
Register an error reporter with the engine so that any errors generated by the loading of script code can be reported in a nice, pretty fashion. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyboardManager()
Method Detail |
---|
public void setErrorReporter(ErrorReporter reporter)
setErrorReporter
in interface DeviceManager
reporter
- The instance to use or nullpublic int getNumDevices()
getNumDevices
in interface DeviceManager
public InputDevice[] getDevices()
getDevices
in interface DeviceManager
public void addDeviceListener(DeviceListener l)
addDeviceListener
in interface DeviceManager
l
- The listener. Nulls and duplicates will be ignored.public void removeDeviceListener(DeviceListener l)
removeDeviceListener
in interface DeviceManager
l
- The listener. Nulls and not found listeners will be ignored.
|
Aviatrix3D 2.2.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |