|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeviceManager
Managers a class of devices.
| 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. |
| Method Detail |
|---|
int getNumDevices()
InputDevice[] getDevices()
void addDeviceListener(DeviceListener l)
l - The listener. Nulls and duplicates will be ignored.void removeDeviceListener(DeviceListener l)
l - The listener. Nulls and not found listeners will be ignored.void setErrorReporter(ErrorReporter reporter)
reporter - The instance to use or null
|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||