diva.graph
Interface GraphViewListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
IncrementalLayoutListener

public interface GraphViewListener
extends java.util.EventListener

A listener for changes in a graph's structure or contents, which are communicated through GraphViewEvent objects. GraphViewListeners register themselves with a GraphViewModel object, and receive events from Nodes and Edges contained by that model's root graph or any of its subgraphs.

Version:
$Id: GraphViewListener.java,v 1.7 2004/04/13 22:14:25 cxh Exp $
Author:
Michael Shilman, Steve Neuendorffer
Accepted Rating:
Red

Method Summary
 void edgeDrawn(GraphViewEvent e)
          A connector representing an edge was just drawn.
 void edgeRouted(GraphViewEvent e)
          The connector representing an edge was just routed.
 void nodeDrawn(GraphViewEvent e)
          A figure representing a node was just drawn.
 void nodeMoved(GraphViewEvent e)
          The figure representing a node was moved.
 

Method Detail

nodeMoved

public void nodeMoved(GraphViewEvent e)
The figure representing a node was moved.


edgeRouted

public void edgeRouted(GraphViewEvent e)
The connector representing an edge was just routed.


nodeDrawn

public void nodeDrawn(GraphViewEvent e)
A figure representing a node was just drawn.


edgeDrawn

public void edgeDrawn(GraphViewEvent e)
A connector representing an edge was just drawn.