fcmodeler.mapping
Class NodeMappingObserver

java.lang.Object
  |
  +--fcmodeler.mapping.NodeMappingObserver
All Implemented Interfaces:
java.util.EventListener, SetChangeListener

public class NodeMappingObserver
extends java.lang.Object
implements SetChangeListener

Since:
JDK1.3
Version:
$Revision: 1.1 $
Author:
Julie Dickerson , Zach Cox

Constructor Summary
NodeMappingObserver(diva.graph.model.Graph graph, diva.graph.GraphView view)
          Creates new NodeMappingObserver
 
Method Summary
 void elementAdded(SetChangeEvent event)
          Invoked when an element is added to the observed set.
 void elementRemoved(SetChangeEvent event)
          Invoked when an element is removed from the observed set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeMappingObserver

public NodeMappingObserver(diva.graph.model.Graph graph,
                           diva.graph.GraphView view)
Creates new NodeMappingObserver
Method Detail

elementAdded

public void elementAdded(SetChangeEvent event)
Invoked when an element is added to the observed set.
Specified by:
elementAdded in interface SetChangeListener
Parameters:
event - the object representing the element's addition.

elementRemoved

public void elementRemoved(SetChangeEvent event)
Invoked when an element is removed from the observed set.
Specified by:
elementRemoved in interface SetChangeListener
Parameters:
event - the object represent the element's removal.