org.grinvin.graphs
Class GraphModelSupport
java.lang.Object
org.grinvin.graphs.GraphModelSupport
public class GraphModelSupport
extends java.lang.Object
Helper class for implementations of
GraphModel
.
Models can delegate listener management and notification to
an object of this class.
fireEdgeAdded
protected void fireEdgeAdded(Edge edge)
Notify all listeners of the fact that an edge was added
to this graph.
fireEdgeChanged
protected void fireEdgeChanged(Edge edge)
Notify all listeners of the fact that edge information
was changed.
fireEdgeRemoved
protected void fireEdgeRemoved(Edge edge)
Notify all listeners of the fact that an edge was removed
from this graph.
fireEdgeRestored
protected void fireEdgeRestored(Edge edge)
Notify all listeners of the fact that an edge was restored
to this graph.
fireGraphChanged
protected void fireGraphChanged()
Notify all listeners of a bulk change to this graph.
fireVertexAdded
protected void fireVertexAdded(Vertex vertex)
Notify all listeners of the fact that a vertex was added
to this graph.
fireVertexChanged
protected void fireVertexChanged(Vertex vertex)
Notify all listeners of the fact that vertex information
was changed.
fireVertexRemoved
protected void fireVertexRemoved(Vertex vertex)
Notify all listeners of the fact that a vertex was removed
from this graph.
fireVertexRestored
protected void fireVertexRestored(Vertex vertex)
Notify all listeners of the fact that a vertex was restored
to this graph.
removeGraphListener
public void removeGraphListener(GraphListener l)