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 TypeMethodDescriptionvoid
Notifies that an edge has been added to the graph.void
Notifies that an edge has been removed from the graph.void
Notifies that a vertex has been added to the graph.void
Notifies 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, wait
Methods 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:
edgeAdded
in interfaceGraphListener<V,
E> - Parameters:
e
- the edge event.
-
edgeRemoved
Notifies that an edge has been removed from the graph.- Specified by:
edgeRemoved
in interfaceGraphListener<V,
E> - Parameters:
e
- the edge event.
-
vertexAdded
Notifies that a vertex has been added to the graph.- Specified by:
vertexAdded
in interfaceVertexSetListener<V>
- Parameters:
e
- the vertex event.
-
vertexRemoved
Notifies that a vertex has been removed from the graph.- Specified by:
vertexRemoved
in interfaceVertexSetListener<V>
- Parameters:
e
- the vertex event.
-