- Type Parameters:
V- the graph vertex type
E- the graph edge type
- All Superinterfaces:
public interface GraphListener<V,E> extends VertexSetListener<V>
A listener that is notified when the graph changes.
If only notifications on vertex set changes are required it is more efficient to use the VertexSetListener.
- Barak Naveh
- See Also:
Modifier and Type Method Description
edgeAdded(GraphEdgeChangeEvent<V,E> e)Notifies that an edge has been added to the graph.
edgeRemoved(GraphEdgeChangeEvent<V,E> e)Notifies that an edge has been removed from the graph.
edgeWeightUpdated(GraphEdgeChangeEvent<V,E> e)Notifies that an edge weight has been updated.