|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--GrapherGUI.Graph.MouseTracker
MouseMotionListener object to handle mouse events.
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 |
public Graph.MouseTracker()
Method Detail |
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
e
- object containing cursor position informationpublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
e
- not used
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |