GrapherGUI
Class Graph.MouseTracker

java.lang.Object
  |
  +--GrapherGUI.Graph.MouseTracker
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseMotionListener
Enclosing class:
Graph

public class Graph.MouseTracker
extends java.lang.Object
implements java.awt.event.MouseMotionListener

MouseMotionListener object to handle mouse events.

See Also:
MouseMotionListener

Constructor Summary
Graph.MouseTracker()
           
 
Method Summary
 void mouseDragged(java.awt.event.MouseEvent e)
          No behavior is defined for this event.
 void mouseMoved(java.awt.event.MouseEvent e)
          Keep track of the mouse's position in cartesian coordinates and report back to the label displaying this information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Graph.MouseTracker

public Graph.MouseTracker()
Method Detail

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Keep track of the mouse's position in cartesian coordinates and report back to the label displaying this information.

Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener
Parameters:
e - object containing cursor position information

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
No behavior is defined for this event.

Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener
Parameters:
e - not used