org.tigris.gef.graph
Interface GraphListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
Diagram, LayerPerspective, LayerPerspectiveMutable

public interface GraphListener
extends java.util.EventListener

This defines a set of event notifications that objects can register for if they are interested in changes to the connected graph. For example, LayerPerspective implements this interface to update the Figs it contains whenever a node or edge is added or removed from the GraphModel.

See Also:
LayerPerspective

Method Summary
 void edgeAdded(GraphEvent e)
           
 void edgeRemoved(GraphEvent e)
           
 void graphChanged(GraphEvent e)
           
 void nodeAdded(GraphEvent e)
           
 void nodeRemoved(GraphEvent e)
           
 

Method Detail

nodeAdded

void nodeAdded(GraphEvent e)

edgeAdded

void edgeAdded(GraphEvent e)

nodeRemoved

void nodeRemoved(GraphEvent e)

edgeRemoved

void edgeRemoved(GraphEvent e)

graphChanged

void graphChanged(GraphEvent e)