edu.uci.ics.jung.graph.event
Interface GraphEventListener

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

public interface GraphEventListener
extends java.util.EventListener

The interface for "listening" to graph events (changes in the structure of a graph). To be notified of graph events, a class must implement this interface and call addListener(...) [or beginEventSequence()] on the appropriate graph. Notification happens by way of the appropriate method in this interface being called immediately after the event occurs.

Author:
Scott White

Method Summary
 void edgeAdded(GraphEvent event)
           
 void edgeRemoved(GraphEvent event)
           
 void vertexAdded(GraphEvent event)
           
 void vertexRemoved(GraphEvent event)
           
 

Method Detail

vertexAdded

public void vertexAdded(GraphEvent event)

vertexRemoved

public void vertexRemoved(GraphEvent event)

edgeAdded

public void edgeAdded(GraphEvent event)

edgeRemoved

public void edgeRemoved(GraphEvent event)