|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xj3d.ui.awt.device.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 DeviceManagerreporter - The instance to use or nullpublic int getNumDevices()
getNumDevices in interface DeviceManagerpublic InputDevice[] getDevices()
getDevices in interface DeviceManagerpublic void addDeviceListener(DeviceListener l)
addDeviceListener in interface DeviceManagerl - The listener. Nulls and duplicates will be ignored.public void removeDeviceListener(DeviceListener l)
removeDeviceListener in interface DeviceManagerl - The listener. Nulls and not found listeners will be ignored.
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||