|
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.ogl.mouse.MouseDevice
public class MouseDevice
A mouse device implementation. This mouse is a typical picking and navigation style mouse.
| Field Summary |
|---|
| Fields inherited from interface org.xj3d.device.InputDevice |
|---|
FUNC_BUTTON_1, FUNC_BUTTON_2, FUNC_BUTTON_3, FUNC_BUTTON_4, FUNC_L1_BUTTON, FUNC_LEFT_HAT, FUNC_LEFT_STICK_X, FUNC_LEFT_STICK_Y, FUNC_LEFT_STICK_Z, FUNC_NAV_X, FUNC_NAV_Y, FUNC_NAV_Y_CENTERED, FUNC_NONE, FUNC_ORIENT_X, FUNC_ORIENT_Y, FUNC_R1_BUTTON, FUNC_RIGHT_STICK_X, FUNC_RIGHT_STICK_Y, FUNC_START_BUTTON, FUNC_THROTTLE, FUNC_VIEWPOINT_NEXT, FUNC_WHEEL_X |
| Constructor Summary | |
|---|---|
MouseDevice(org.j3d.aviatrix3d.pipeline.graphics.GraphicsOutputDevice surface,
java.lang.String name)
Construct a new mouse device that interacts with the given surface, and is named. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Get the name of this device. |
int |
getTrackerCount()
Get a count of the number of trackers this device has. |
Tracker[] |
getTrackers()
Fetch the list of trackers generated by this output device |
void |
mouseClicked(java.awt.event.MouseEvent evt)
Process a mouse click event. |
void |
mouseDragged(java.awt.event.MouseEvent evt)
Process a mouse drag event |
void |
mouseEntered(java.awt.event.MouseEvent evt)
Process a mouse enter event. |
void |
mouseExited(java.awt.event.MouseEvent evt)
Process a mouse exited event. |
void |
mouseMoved(java.awt.event.MouseEvent evt)
Process a mouse movement event. |
void |
mousePressed(java.awt.event.MouseEvent evt)
Process a mouse press event. |
void |
mouseReleased(java.awt.event.MouseEvent evt)
Process a mouse release event. |
void |
mouseWheelMoved(java.awt.event.MouseWheelEvent mwe)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MouseDevice(org.j3d.aviatrix3d.pipeline.graphics.GraphicsOutputDevice surface,
java.lang.String name)
surface - The surface to trackname - The device name string| Method Detail |
|---|
public java.lang.String getName()
getName in interface InputDevicepublic Tracker[] getTrackers()
getTrackers in interface TrackerDevicepublic int getTrackerCount()
getTrackerCount in interface TrackerDevicepublic void mousePressed(java.awt.event.MouseEvent evt)
mousePressed in interface java.awt.event.MouseListenerevt - The event that caused this method to be calledpublic void mouseReleased(java.awt.event.MouseEvent evt)
mouseReleased in interface java.awt.event.MouseListenerevt - The event that caused this method to be calledpublic void mouseClicked(java.awt.event.MouseEvent evt)
mouseClicked in interface java.awt.event.MouseListenerevt - The event that caused this method to be calledpublic void mouseEntered(java.awt.event.MouseEvent evt)
mouseEntered in interface java.awt.event.MouseListenerevt - The event that caused this method to be calledpublic void mouseExited(java.awt.event.MouseEvent evt)
mouseExited in interface java.awt.event.MouseListenerevt - The event that caused this method to be calledpublic void mouseDragged(java.awt.event.MouseEvent evt)
mouseDragged in interface java.awt.event.MouseMotionListenerevt - The event that caused this method to be calledpublic void mouseMoved(java.awt.event.MouseEvent evt)
mouseMoved in interface java.awt.event.MouseMotionListenerevt - The event that caused this method to be calledpublic void mouseWheelMoved(java.awt.event.MouseWheelEvent mwe)
mouseWheelMoved in interface java.awt.event.MouseWheelListener
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||