com.phoenixst.plexus
Interface ObservableGraph
- All Superinterfaces:
- Graph
- All Known Implementing Classes:
- DefaultGraph, DefaultOrientedForest, FilteredGraph, GraphTransformer, GraphWrapper, LoggingGraph, ObservableGraphWrapper, SynchronizedGraph, UnmodifiableGraph
public interface ObservableGraph
- extends Graph
A Graph
which can be listened to for structural
changes.
- Since:
- 1.0
- Version:
- $Revision: 1.2 $
- Author:
- Ray A. Conner
Nested classes/interfaces inherited from interface com.phoenixst.plexus.Graph |
Graph.Edge |
Methods inherited from interface com.phoenixst.plexus.Graph |
addEdge, addNode, adjacentNodes, containsEdge, containsNode, degree, degree, edges, getAdjacentNode, getEdge, getIncidentEdge, getNode, incidentEdges, nodes, removeEdge, removeNode, traverser |
addGraphListener
void addGraphListener(GraphListener listener)
- Adds the specified
GraphListener
which will be
notified whenever this ObservableGraph's
structure changes.
removeGraphListener
void removeGraphListener(GraphListener listener)
- Removes a previously added
GraphListener
.
See the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.