com.tensegrity.graph.event
Class NodeListenerAdapter

java.lang.Object
  extended bycom.tensegrity.graph.event.NodeListenerAdapter
All Implemented Interfaces:
EventListenerTag, NodeListener

public class NodeListenerAdapter
extends java.lang.Object
implements NodeListener

A convenience adapter-class for nodelisteners.

Version:
$Id: NodeListenerAdapter.java,v 1.7 2006/03/23 11:15:10 MichaelKegel Exp $
Author:
Stepan Rutz

Constructor Summary
NodeListenerAdapter()
          Constructs a NodeListenerAdapter instance.
 
Method Summary
 void nodeAddedToGraph(NodeEvent nodeevent)
          This method is invoked on the listener if a Node was added to the graph.
 void nodeRemovedFromGraph(NodeEvent nodeevent)
          This method is invoked on the listener if a Node was removed from the graph #
 void portAddedToNode(NodeEvent nodeevent)
          This method is invoked on the listener if a Port is added to a Node.
 void portRemovedFromNode(NodeEvent nodeevent)
          This method is invoked on the listener if a Port is removed from a Node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeListenerAdapter

public NodeListenerAdapter()
Constructs a NodeListenerAdapter instance.

Method Detail

nodeAddedToGraph

public void nodeAddedToGraph(NodeEvent nodeevent)
Description copied from interface: NodeListener
This method is invoked on the listener if a Node was added to the graph.

Specified by:
nodeAddedToGraph in interface NodeListener
Parameters:
nodeevent - the event structure that carries details about the event.

nodeRemovedFromGraph

public void nodeRemovedFromGraph(NodeEvent nodeevent)
Description copied from interface: NodeListener
This method is invoked on the listener if a Node was removed from the graph #

Specified by:
nodeRemovedFromGraph in interface NodeListener
Parameters:
nodeevent - the event structure that carries details about the event.

portAddedToNode

public void portAddedToNode(NodeEvent nodeevent)
Description copied from interface: NodeListener
This method is invoked on the listener if a Port is added to a Node.

Specified by:
portAddedToNode in interface NodeListener
Parameters:
nodeevent - the event structure that carries details about the event.

portRemovedFromNode

public void portRemovedFromNode(NodeEvent nodeevent)
Description copied from interface: NodeListener
This method is invoked on the listener if a Port is removed from a Node.

Specified by:
portRemovedFromNode in interface NodeListener
Parameters:
nodeevent - the event structure that carries details about the event.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.