org.progeeks.graph
Class GraphEventForwarder
java.lang.Object
org.progeeks.graph.GraphEventForwarder
- All Implemented Interfaces:
- com.phoenixst.plexus.GraphListener, java.util.EventListener
public class GraphEventForwarder
- extends java.lang.Object
- implements com.phoenixst.plexus.GraphListener
Forwards the events from a graph to an ObservableGraphDelegate.
- Version:
- $Revision: 1.1 $
- Author:
- Paul Speed
Constructor Summary |
GraphEventForwarder(com.phoenixst.plexus.util.ObservableGraphDelegate delegate)
|
Method Summary |
void |
edgeAdded(com.phoenixst.plexus.GraphEvent event)
|
void |
edgeRemoved(com.phoenixst.plexus.GraphEvent event)
|
void |
nodeAdded(com.phoenixst.plexus.GraphEvent event)
|
void |
nodeRemoved(com.phoenixst.plexus.GraphEvent event)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphEventForwarder
public GraphEventForwarder(com.phoenixst.plexus.util.ObservableGraphDelegate delegate)
nodeAdded
public void nodeAdded(com.phoenixst.plexus.GraphEvent event)
- Specified by:
nodeAdded
in interface com.phoenixst.plexus.GraphListener
nodeRemoved
public void nodeRemoved(com.phoenixst.plexus.GraphEvent event)
- Specified by:
nodeRemoved
in interface com.phoenixst.plexus.GraphListener
edgeAdded
public void edgeAdded(com.phoenixst.plexus.GraphEvent event)
- Specified by:
edgeAdded
in interface com.phoenixst.plexus.GraphListener
edgeRemoved
public void edgeRemoved(com.phoenixst.plexus.GraphEvent event)
- Specified by:
edgeRemoved
in interface com.phoenixst.plexus.GraphListener
Copyright © 2002-2003 Paul Speed. All Rights Reserved.