|
Aviatrix3D 2.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.j3d.device.input.Tracker
org.j3d.renderer.aviatrix3d.device.input.mouse.MouseTracker
public class MouseTracker
A tracker implementation for mouse devices under OpenGL.
| Field Summary |
|---|
| Fields inherited from class org.j3d.device.input.Tracker |
|---|
MASK_NONE, MASK_ORIENTATION, MASK_PICKING, MASK_POSITION |
| Constructor Summary | |
|---|---|
MouseTracker(GraphicsOutputDevice surface,
java.lang.String id)
|
|
| Method Summary | |
|---|---|
void |
beginPolling()
Notification that tracker polling is beginning. |
void |
endPolling()
Notification that tracker polling is ending. |
int |
getActionMask()
What action types does this sensor return. |
void |
getState(int layer,
int subLayer,
org.j3d.device.input.TrackerState state)
Get the current state of this tracker. |
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 org.j3d.device.input.Tracker |
|---|
actionChanges |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MouseTracker(GraphicsOutputDevice surface,
java.lang.String id)
| Method Detail |
|---|
public int getActionMask()
getActionMask in class org.j3d.device.input.Trackerpublic void beginPolling()
beginPolling in class org.j3d.device.input.Trackerpublic void endPolling()
endPolling in class org.j3d.device.input.Tracker
public void getState(int layer,
int subLayer,
org.j3d.device.input.TrackerState state)
getState in class org.j3d.device.input.Trackerstate - The current statelayer - The ID of the layer to get the state forsubLayer - The ID of the sub layer within the parent layerpublic 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
|
Aviatrix3D 2.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||