- 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 long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
BaseGraphListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
edgeAdded(GraphEdgeChangeEvent<V,E> e)
Notifies that an edge has been added to the graph.void
edgeRemoved(GraphEdgeChangeEvent<V,E> e)
Notifies that an edge has been removed from the graph.void
vertexAdded(GraphVertexChangeEvent<V> e)
Notifies that a vertex has been added to the graph.void
vertexRemoved(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:
edgeAdded
in 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:
edgeRemoved
in 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:
vertexAdded
in 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:
vertexRemoved
in interfaceVertexSetListener<V>
- Parameters:
e
- the vertex event.
-
-