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 38798 2005-07-08 20:00:01Z cxh $
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

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


edgeRouted

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


nodeDrawn

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


edgeDrawn

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