|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.camera.MouseOrbiter
public class MouseOrbiter
Provides a means of manipulating an OrbitCameraHandler using the mouse.
| Constructor Summary | |
|---|---|
MouseOrbiter(OrbitCameraHandler camhand)
Creates new mouse orbiter for the specified camera handler. |
|
MouseOrbiter(OrbitCameraHandler camhand,
boolean panXY)
Creates a new mouse orbiter for the specified camera handler. |
|
| Method Summary | |
|---|---|
void |
addTo(Component comp)
Adds the orbiter to the specified component. |
void |
mouseDragged(MouseEvent event)
|
void |
mouseDragged(MouseEvent event)
Dispatched when the mouse is moved after a button having been pressed within the bounds of the target component. |
void |
mouseMoved(MouseEvent event)
|
void |
mouseMoved(MouseEvent event)
Dispatched when the mouse is moved within the bounds of the target component. |
void |
mouseWheeled(MouseEvent event)
Dispatched when the mouse wheel is rotated within the bounds of the target component. |
void |
mouseWheelMoved(MouseWheelEvent event)
|
void |
removeFrom(Component comp)
Removes the orbiter from the specified component. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MouseOrbiter(OrbitCameraHandler camhand)
public MouseOrbiter(OrbitCameraHandler camhand,
boolean panXY)
panXY - if true, limit panning to the XY plane.| Method Detail |
|---|
public void addTo(Component comp)
public void removeFrom(Component comp)
public void mouseDragged(MouseEvent event)
public void mouseMoved(MouseEvent event)
public void mouseWheelMoved(MouseWheelEvent event)
public void mouseMoved(MouseEvent event)
MouseMotionListener
mouseMoved in interface MouseMotionListenerpublic void mouseDragged(MouseEvent event)
MouseMotionListener
mouseDragged in interface MouseMotionListenerpublic void mouseWheeled(MouseEvent event)
MouseWheelListener
mouseWheeled in interface MouseWheelListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||