|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.event.MouseAdapter | +--render.RenderPanel.MouseHandler
Constructor Summary | |
protected |
RenderPanel.MouseHandler()
|
Method Summary | |
void |
mouseDragged(java.awt.event.MouseEvent me)
Dragging the mouse causes gradual view rotation in the phi and theta directions. |
void |
mouseMoved(java.awt.event.MouseEvent me)
Listener for mouse movement. |
void |
mousePressed(java.awt.event.MouseEvent me)
Listener for mouse down. |
void |
mouseReleased(java.awt.event.MouseEvent me)
Listens for mouse release and controls aspects of the renderer. |
Methods inherited from class java.awt.event.MouseAdapter |
mouseClicked, mouseEntered, mouseExited |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected RenderPanel.MouseHandler()
Method Detail |
public void mouseMoved(java.awt.event.MouseEvent me)
If mouse is placed in the lower left cornder it displays the framerate.
public void mousePressed(java.awt.event.MouseEvent me)
Mouse down starts a view rotation.
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class java.awt.event.MouseAdapter
public void mouseDragged(java.awt.event.MouseEvent me)
public void mouseReleased(java.awt.event.MouseEvent me)
A release in the upper left corner toggles Renderer.tableMode
.
A release in the upper right corner toggle visibility of the Material.table
display. When true, the current material table is displayed in the upper left corner of the window. Position of the mouse determines current material.
A release in the lower right toggles Renderer.showMesh
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class java.awt.event.MouseAdapter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |