|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.web3d.ogl.device.mouse.MouseManager
Manages Mouse devices. Assumes only 1 device currently.
| Constructor Summary | |
MouseManager(DrawableSurface surface)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MouseManager(DrawableSurface surface)
| Method Detail |
public 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 VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||