Package org.jgrapht
Interface ListenableGraph<V,E>
- All Superinterfaces:
Graph<V,
E>
- All Known Implementing Classes:
DefaultListenableGraph
,ListenableDirectedGraph
,ListenableDirectedWeightedGraph
,ListenableUndirectedGraph
,ListenableUndirectedWeightedGraph
A graph that supports listeners on structural change events.
- Since:
- Jul 20, 2003
- Author:
- Barak Naveh
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the specified graph listener to this graph, if not already present.void
Adds the specified vertex set listener to this graph, if not already present.void
Removes the specified graph listener from this graph, if present.void
Removes the specified vertex set listener from this graph, if present.Methods inherited from interface org.jgrapht.Graph
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
-
Method Details
-
addGraphListener
Adds the specified graph listener to this graph, if not already present.- Parameters:
l
- the listener to be added.
-
addVertexSetListener
Adds the specified vertex set listener to this graph, if not already present.- Parameters:
l
- the listener to be added.
-
removeGraphListener
Removes the specified graph listener from this graph, if present.- Parameters:
l
- the listener to be removed.
-
removeVertexSetListener
Removes the specified vertex set listener from this graph, if present.- Parameters:
l
- the listener to be removed.
-