org.objectweb.fractal.gui.graph.control
Class EmptyGraphViewListener

java.lang.Object
  extended byorg.objectweb.fractal.gui.graph.control.EmptyGraphViewListener
All Implemented Interfaces:
GraphViewListener
Direct Known Subclasses:
BindTool, MoveTool, SelectTool, ZoomTool

public class EmptyGraphViewListener
extends java.lang.Object
implements GraphViewListener

Empty implementation of the GraphViewListener interface.


Constructor Summary
EmptyGraphViewListener()
           
 
Method Summary
 void mouseClicked(java.awt.event.MouseEvent e, ComponentPart p)
          Notifies this listener that the mouse has been clicked.
 void mouseDragged(java.awt.event.MouseEvent e)
          Notifies this listener that the mouse has been dragged in the graph view.
 void mouseEntered(java.awt.event.MouseEvent e)
          Notifies this listener that the mouse has entered the graph view.
 void mouseExited(java.awt.event.MouseEvent e)
          Notifies this listener that the mouse has exited the graph view.
 void mouseMoved(java.awt.event.MouseEvent e, ComponentPart p)
          Notifies this listener that the mouse has mouved in the graph view.
 void mousePressed(java.awt.event.MouseEvent e, ComponentPart p)
          Notifies this listener that the mouse has been pressed.
 void mouseReleased(java.awt.event.MouseEvent e, ComponentPart p)
          Notifies this listener that the mouse has been released.
 void viewChanged()
          Notifies this listener that the model represented by the view has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyGraphViewListener

public EmptyGraphViewListener()
Method Detail

viewChanged

public void viewChanged()
Description copied from interface: GraphViewListener
Notifies this listener that the model represented by the view has changed.

Specified by:
viewChanged in interface GraphViewListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e,
                         ComponentPart p)
Description copied from interface: GraphViewListener
Notifies this listener that the mouse has been pressed.

Specified by:
mousePressed in interface GraphViewListener
Parameters:
e - a mouse pressed mouse event.
p - the component part corresponding to the event's coordinates.

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e,
                          ComponentPart p)
Description copied from interface: GraphViewListener
Notifies this listener that the mouse has been released.

Specified by:
mouseReleased in interface GraphViewListener
Parameters:
e - a mouse released mouse event.
p - the component part corresponding to the event's coordinates.

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e,
                         ComponentPart p)
Description copied from interface: GraphViewListener
Notifies this listener that the mouse has been clicked.

Specified by:
mouseClicked in interface GraphViewListener
Parameters:
e - a mouse clicke mouse event.
p - the component part corresponding to the event's coordinates.

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Description copied from interface: GraphViewListener
Notifies this listener that the mouse has entered the graph view.

Specified by:
mouseEntered in interface GraphViewListener
Parameters:
e - a mouse entered mouse event.

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Description copied from interface: GraphViewListener
Notifies this listener that the mouse has exited the graph view.

Specified by:
mouseExited in interface GraphViewListener
Parameters:
e - a mouse exited mouse event.

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Description copied from interface: GraphViewListener
Notifies this listener that the mouse has been dragged in the graph view.

Specified by:
mouseDragged in interface GraphViewListener
Parameters:
e - a mouse dragged mouse event.

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e,
                       ComponentPart p)
Description copied from interface: GraphViewListener
Notifies this listener that the mouse has mouved in the graph view.

Specified by:
mouseMoved in interface GraphViewListener
Parameters:
e - a mouse moved mouse event.
p - the component part corresponding to the event's coordinates.