Plexus v0.13.1

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 Class Summary
 
Nested classes/interfaces inherited from interface com.phoenixst.plexus.Graph
Graph.Edge
 
Method Summary
 void addGraphListener(GraphListener listener)
          Adds the specified GraphListener which will be notified whenever this ObservableGraph's structure changes.
 void removeGraphListener(GraphListener listener)
          Removes a previously added GraphListener.
 
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
 

Method Detail

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.


Plexus v0.13.1

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.