com.cra.bnet.engine
Class NodeAdapter

java.lang.Object
  |
  +--com.cra.bnet.engine.NodeAdapter
All Implemented Interfaces:
EventListener, NodeListener

public class NodeAdapter
extends Object
implements NodeListener

An abstract adapter class for receiving node events. Subclasses can override whichever NodeListener methods they wish and ignore the rest.


Constructor Summary
NodeAdapter()
           
 
Method Summary
 void descriptionChanged(NodeEvent event)
          Invoked when the node's description has been changed.
 void locationChanged(NodeEvent event)
          Invoked when the node's location has been changed.
 void nameChanged(NodeEvent event)
          Invoked when the node's name has been changed.
 void parentReordered(NodeEvent event)
          Invoked when one of the node's parents has been reordered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeAdapter

public NodeAdapter()
Method Detail

nameChanged

public void nameChanged(NodeEvent event)
Description copied from interface: NodeListener
Invoked when the node's name has been changed.

Specified by:
nameChanged in interface NodeListener
Parameters:
event - node event.

descriptionChanged

public void descriptionChanged(NodeEvent event)
Description copied from interface: NodeListener
Invoked when the node's description has been changed.

Specified by:
descriptionChanged in interface NodeListener
Parameters:
event - node event.

locationChanged

public void locationChanged(NodeEvent event)
Description copied from interface: NodeListener
Invoked when the node's location has been changed.

Specified by:
locationChanged in interface NodeListener
Parameters:
event - node event.

parentReordered

public void parentReordered(NodeEvent event)
Description copied from interface: NodeListener
Invoked when one of the node's parents has been reordered.

Specified by:
parentReordered in interface NodeListener
Parameters:
event - node event.