salvo.jesus.graph
Interface GraphAddEdgeListener

All Superinterfaces:
java.util.EventListener, java.io.Serializable

public interface GraphAddEdgeListener
extends java.util.EventListener, java.io.Serializable

The listener interface for receiving notification when an Edge is is added to a Graph. Implementations of this interface should be registered with a Graph, via the Graph's addGraphAddEdgeListener(), to be notified when an Edge is added to the Graph.

Author:
Jesus M. Salvo Jr.

Method Summary
 void edgeAdded(GraphAddEdgeEvent e)
          Once implementations of this interface are registered with a Graph, this method is automatically called whenever an Edge is added to the Graph object.
 

Method Detail

edgeAdded

void edgeAdded(GraphAddEdgeEvent e)
Once implementations of this interface are registered with a Graph, this method is automatically called whenever an Edge is added to the Graph object.

Parameters:
e - GraphAddEdgeEvent object that also specifies the Edge that was added to the graph