View Javadoc
1   package edu.uci.ics.jung.graph.event;
2   
3   import java.util.EventListener;
4   
5   /**
6    * An interface for classes that listen for graph events.
7    */
8   public interface GraphEventListener<V,E> extends EventListener 
9   {
10  	/**
11  	 * Method called by the process generating a graph event to which
12  	 * this instance is listening.  The implementor of this interface
13  	 * is responsible for deciding what behavior is appropriate.
14  	 * 
15  	 * @param evt the graph event to be handled
16  	 */
17  	void handleGraphEvent(GraphEvent<V,E> evt);
18  }