|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListenableGraph<V,E>
A graph that supports listeners on structural change events.
GraphListener
,
VertexSetListener
Method Summary | |
---|---|
void |
addGraphListener(GraphListener<V,E> l)
Adds the specified graph listener to this graph, if not already present. |
void |
addVertexSetListener(VertexSetListener<V> l)
Adds the specified vertex set listener to this graph, if not already present. |
void |
removeGraphListener(GraphListener<V,E> l)
Removes the specified graph listener from this graph, if present. |
void |
removeVertexSetListener(VertexSetListener<V> l)
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 Detail |
---|
void addGraphListener(GraphListener<V,E> l)
l
- the listener to be added.void addVertexSetListener(VertexSetListener<V> l)
l
- the listener to be added.void removeGraphListener(GraphListener<V,E> l)
l
- the listener to be removed.void removeVertexSetListener(VertexSetListener<V> l)
l
- the listener to be removed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |