salvo.jesus.graph
Interface GraphRemoveVertexListener

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

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

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

Author:
Jesus M. Salvo Jr.

Method Summary
 void vertexRemoved(GraphRemoveVertexEvent e)
          Once implementations of this interface are registered with a Graph, this method is automatically called whenever a Vertex is about to be removed from the Graph object encapsulated by the VisualGraph object.
 

Method Detail

vertexRemoved

void vertexRemoved(GraphRemoveVertexEvent e)
Once implementations of this interface are registered with a Graph, this method is automatically called whenever a Vertex is about to be removed from the Graph object encapsulated by the VisualGraph object.

Parameters:
e - GraphRemoveVertexEvent object that also specifies the Vertex that is about to be removed from the graph