salvo.jesus.graph
Interface GraphAddVertexListener

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

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

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

Author:
Jesus M. Salvo Jr.

Method Summary
 void vertexAdded(GraphAddVertexEvent e)
          Once implementations of this interface are registered with a Graph, this method is automatically called whenever a Vertex is added to the Graph object.
 

Method Detail

vertexAdded

void vertexAdded(GraphAddVertexEvent e)
Once implementations of this interface are registered with a Graph, this method is automatically called whenever a Vertex is added to the Graph object.

Parameters:
e - GraphAddVertexEvent object that also specifies the Vertex that was added to the graph