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

All Superinterfaces:
EventListener
All Known Implementing Classes:
SubsetManager, TestGraphEventListener.EventConsistencyChecker

public interface GraphEventListener
extends 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

void vertexAdded(GraphEvent event)

vertexRemoved

void vertexRemoved(GraphEvent event)

edgeAdded

void edgeAdded(GraphEvent event)

edgeRemoved

void edgeRemoved(GraphEvent event)