|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.renderer.aviatrix3d.device.input.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.j3d.device.input.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(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. |
org.j3d.device.input.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(GraphicsOutputDevice surface, java.lang.String name)
surface
- The surface to trackname
- The device name stringMethod Detail |
---|
public java.lang.String getName()
getName
in interface org.j3d.device.input.InputDevice
public org.j3d.device.input.Tracker[] getTrackers()
getTrackers
in interface org.j3d.device.input.TrackerDevice
public int getTrackerCount()
getTrackerCount
in interface org.j3d.device.input.TrackerDevice
public void mousePressed(java.awt.event.MouseEvent evt)
mousePressed
in interface java.awt.event.MouseListener
evt
- The event that caused this method to be calledpublic void mouseReleased(java.awt.event.MouseEvent evt)
mouseReleased
in interface java.awt.event.MouseListener
evt
- The event that caused this method to be calledpublic void mouseClicked(java.awt.event.MouseEvent evt)
mouseClicked
in interface java.awt.event.MouseListener
evt
- The event that caused this method to be calledpublic void mouseEntered(java.awt.event.MouseEvent evt)
mouseEntered
in interface java.awt.event.MouseListener
evt
- The event that caused this method to be calledpublic void mouseExited(java.awt.event.MouseEvent evt)
mouseExited
in interface java.awt.event.MouseListener
evt
- The event that caused this method to be calledpublic void mouseDragged(java.awt.event.MouseEvent evt)
mouseDragged
in interface java.awt.event.MouseMotionListener
evt
- The event that caused this method to be calledpublic void mouseMoved(java.awt.event.MouseEvent evt)
mouseMoved
in interface java.awt.event.MouseMotionListener
evt
- The event that caused this method to be calledpublic void mouseWheelMoved(java.awt.event.MouseWheelEvent mwe)
mouseWheelMoved
in interface java.awt.event.MouseWheelListener
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |