ch.hearc.I04_05s08.GUI.Graph
Class GraphListener
java.lang.Object
ch.hearc.I04_05s08.GUI.Graph.GraphListener
- All Implemented Interfaces:
- EventListener, MouseListener, MouseMotionListener
- public class GraphListener
- extends Object
- implements MouseListener, MouseMotionListener
Graph listener
- Author:
- Blanc, Yoan
- Licence:
- MIT
- Copyright:
- 2005 Yoan Blanc, HE-ARC Ing�nierie
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
graph
public GraphPanel graph
- The graph
GraphListener
public GraphListener(GraphPanel graph)
- Build the listener (auto set the listeners to the GraphPanel)
- Parameters:
graph
- the GraphPanel which is listened
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressed
in interface MouseListener
mouseReleased
public void mouseReleased(MouseEvent e)
- Specified by:
mouseReleased
in interface MouseListener
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
mouseClicked
in interface MouseListener
mouseEntered
public void mouseEntered(MouseEvent e)
- Specified by:
mouseEntered
in interface MouseListener
mouseExited
public void mouseExited(MouseEvent e)
- Specified by:
mouseExited
in interface MouseListener
mouseMoved
public void mouseMoved(MouseEvent e)
- Specified by:
mouseMoved
in interface MouseMotionListener
mouseDragged
public void mouseDragged(MouseEvent e)
- Specified by:
mouseDragged
in interface MouseMotionListener
A project by Blanc, Yoan – supervised by Dr. Ghorbel, Hatem.
2004 © Blanc, Yoan - HE-ARC