y25.view.viewmodes
Class NavigationMode25D

java.lang.Object
  extended byy25.view.ViewMode25D
      extended byy25.view.viewmodes.NavigationMode25D
All Implemented Interfaces:
EventListener, MouseInputListener, MouseListener, MouseMotionListener, MouseWheelListener

public class NavigationMode25D
extends ViewMode25D

Provides navigation inside a Graph25DView by changing its camera parameters.

Here is how to navigate when using this view mode:


Field Summary
 
Fields inherited from class y25.view.ViewMode25D
deltaDrag, lastClickEvent, lastDragEvent, lastPressEvent, lastReleaseEvent, view
 
Constructor Summary
NavigationMode25D()
           
 
Method Summary
 void mouseDraggedLeft(MouseEvent e)
           
 void mouseDraggedMiddle(MouseEvent e)
           
 void mouseDraggedRight(MouseEvent e)
           
 void mouseShiftDraggedMiddle(MouseEvent e)
           
 void mouseWheelMoved(MouseWheelEvent e)
           
 
Methods inherited from class y25.view.ViewMode25D
delta, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseShiftDraggedLeft, mouseShiftDraggedRight, setActiveView, shiftPressed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationMode25D

public NavigationMode25D()
Method Detail

mouseDraggedLeft

public void mouseDraggedLeft(MouseEvent e)
Overrides:
mouseDraggedLeft in class ViewMode25D

mouseDraggedMiddle

public void mouseDraggedMiddle(MouseEvent e)
Overrides:
mouseDraggedMiddle in class ViewMode25D

mouseShiftDraggedMiddle

public void mouseShiftDraggedMiddle(MouseEvent e)
Overrides:
mouseShiftDraggedMiddle in class ViewMode25D

mouseWheelMoved

public void mouseWheelMoved(MouseWheelEvent e)
Specified by:
mouseWheelMoved in interface MouseWheelListener
Overrides:
mouseWheelMoved in class ViewMode25D

mouseDraggedRight

public void mouseDraggedRight(MouseEvent e)
Overrides:
mouseDraggedRight in class ViewMode25D