|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.j3d.device.input.jinput.USBManager
public class USBManager
A USB device. This device is a navigation only device.
TODO:
Internationalisation Resource Names
| Constructor Summary | |
|---|---|
USBManager()
Construct a new instance of the manager |
|
| 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 USBManager()
| 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.
|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||