org.tigris.gef.graph
Interface GraphListener
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- Diagram, LayerPerspective
- 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
nodeAdded
public void nodeAdded(GraphEvent e)
edgeAdded
public void edgeAdded(GraphEvent e)
nodeRemoved
public void nodeRemoved(GraphEvent e)
edgeRemoved
public void edgeRemoved(GraphEvent e)
graphChanged
public void graphChanged(GraphEvent e)