- java.lang.Object
-
- org.jgrapht.graph.AsSubgraph.BaseGraphListener
-
- All Implemented Interfaces:
java.io.Serializable,java.util.EventListener,GraphListener<V,E>,VertexSetListener<V>
- Enclosing class:
- AsSubgraph<V,E>
private class AsSubgraph.BaseGraphListener extends java.lang.Object implements GraphListener<V,E>, java.io.Serializable
An internal listener on the base graph.
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateBaseGraphListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidedgeAdded(GraphEdgeChangeEvent<V,E> e)Notifies that an edge has been added to the graph.voidedgeRemoved(GraphEdgeChangeEvent<V,E> e)Notifies that an edge has been removed from the graph.voidvertexAdded(GraphVertexChangeEvent<V> e)Notifies that a vertex has been added to the graph.voidvertexRemoved(GraphVertexChangeEvent<V> e)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 Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
edgeAdded
public void edgeAdded(GraphEdgeChangeEvent<V,E> e)
Notifies that an edge has been added to the graph.- Specified by:
edgeAddedin interfaceGraphListener<V,E>- Parameters:
e- the edge event.
-
edgeRemoved
public void edgeRemoved(GraphEdgeChangeEvent<V,E> e)
Notifies that an edge has been removed from the graph.- Specified by:
edgeRemovedin interfaceGraphListener<V,E>- Parameters:
e- the edge event.
-
vertexAdded
public void vertexAdded(GraphVertexChangeEvent<V> e)
Notifies that a vertex has been added to the graph.- Specified by:
vertexAddedin interfaceVertexSetListener<V>- Parameters:
e- the vertex event.
-
vertexRemoved
public void vertexRemoved(GraphVertexChangeEvent<V> e)
Notifies that a vertex has been removed from the graph.- Specified by:
vertexRemovedin interfaceVertexSetListener<V>- Parameters:
e- the vertex event.
-
-