org.objectweb.fractal.gui.graph.view
Interface GraphViewListener

All Known Implementing Classes:
BasicStatusView, EmptyGraphViewListener, GraphViewNotifier

public interface GraphViewListener

An interface to be notified of events emitted by a graph view component.


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.
 

Method Detail

viewChanged

public void viewChanged()
Notifies this listener that the model represented by the view has changed.


mousePressed

public void mousePressed(java.awt.event.MouseEvent e,
                         ComponentPart p)
Notifies this listener that the mouse has been pressed.

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)
Notifies this listener that the mouse has been released.

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)
Notifies this listener that the mouse has been clicked.

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)
Notifies this listener that the mouse has entered the graph view.

Parameters:
e - a mouse entered mouse event.

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Notifies this listener that the mouse has exited the graph view.

Parameters:
e - a mouse exited mouse event.

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Notifies this listener that the mouse has been dragged in the graph view.

Parameters:
e - a mouse dragged mouse event.

mouseMoved

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

Parameters:
e - a mouse moved mouse event.
p - the component part corresponding to the event's coordinates.