java.lang.Object
org.jgrapht.graph.AsSubgraph.BaseGraphListener
- All Implemented Interfaces:
Serializable,EventListener,GraphListener<V,,E> VertexSetListener<V>
- Enclosing class:
AsSubgraph<V,E>
private class AsSubgraph.BaseGraphListener
extends Object
implements GraphListener<V,E>, Serializable
An internal listener on the base graph.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidNotifies that an edge has been added to the graph.voidNotifies that an edge has been removed from the graph.voidNotifies that a vertex has been added to the graph.voidNotifies that a vertex has been removed from the graph.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jgrapht.event.GraphListener
edgeWeightUpdated
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
BaseGraphListener
private BaseGraphListener()
-
-
Method Details
-
edgeAdded
Notifies that an edge has been added to the graph.- Specified by:
edgeAddedin interfaceGraphListener<V,E> - Parameters:
e- the edge event.
-
edgeRemoved
Notifies that an edge has been removed from the graph.- Specified by:
edgeRemovedin interfaceGraphListener<V,E> - Parameters:
e- the edge event.
-
vertexAdded
Notifies that a vertex has been added to the graph.- Specified by:
vertexAddedin interfaceVertexSetListener<V>- Parameters:
e- the vertex event.
-
vertexRemoved
Notifies that a vertex has been removed from the graph.- Specified by:
vertexRemovedin interfaceVertexSetListener<V>- Parameters:
e- the vertex event.
-