org._3pq.jgrapht
Interface ListenableGraph

All Superinterfaces:
Graph
All Known Implementing Classes:
DefaultListenableGraph

public interface ListenableGraph
extends Graph

A graph that supports listeners on structural change events.

Since:
Jul 20, 2003
Author:
Barak Naveh
See Also:
GraphListener, VertexSetListener

Method Summary
 void addGraphListener(GraphListener l)
          Adds the specified graph listener to this graph, if not already present.
 void addVertexSetListener(VertexSetListener l)
          Adds the specified vertex set listener to this graph, if not already present.
 void removeGraphListener(GraphListener l)
          Removes the specified graph listener from this graph, if present.
 void removeVertexSetListener(VertexSetListener l)
          Removes the specified vertex set listener from this graph, if present.
 
Methods inherited from interface org._3pq.jgrapht.Graph
addAllEdges, addAllVertices, addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
 

Method Detail

addGraphListener

public void addGraphListener(GraphListener l)
Adds the specified graph listener to this graph, if not already present.

Parameters:
l - the listener to be added.

addVertexSetListener

public void addVertexSetListener(VertexSetListener l)
Adds the specified vertex set listener to this graph, if not already present.

Parameters:
l - the listener to be added.

removeGraphListener

public void removeGraphListener(GraphListener l)
Removes the specified graph listener from this graph, if present.

Parameters:
l - he listener to be removed.

removeVertexSetListener

public void removeVertexSetListener(VertexSetListener l)
Removes the specified vertex set listener from this graph, if present.

Parameters:
l - the listener to be removed.