Package org._3pq.jgrapht
Interface ListenableGraph
-
- All Superinterfaces:
Graph
- All Known Implementing Classes:
DefaultListenableGraph
,ListenableDirectedGraph
,ListenableDirectedWeightedGraph
,ListenableUndirectedGraph
,ListenableUndirectedWeightedGraph
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
void addGraphListener(GraphListener l)
Adds the specified graph listener to this graph, if not already present.- Parameters:
l
- the listener to be added.
-
addVertexSetListener
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
void removeGraphListener(GraphListener l)
Removes the specified graph listener from this graph, if present.- Parameters:
l
- he listener to be removed.
-
removeVertexSetListener
void removeVertexSetListener(VertexSetListener l)
Removes the specified vertex set listener from this graph, if present.- Parameters:
l
- the listener to be removed.
-
-