com.tensegrity.graph.event
Interface NodeListener

All Superinterfaces:
EventListenerTag
All Known Subinterfaces:
GraphEventMediatorListener
All Known Implementing Classes:
DebugGraphListener, GraphEventMediator, GraphEventMediatorAdapter, GraphEventMultiplexer, NodeListenerAdapter

public interface NodeListener
extends EventListenerTag

The listener interface for receiving events that are related to a node instance

Version:
$Id: NodeListener.java,v 1.8 2004/05/05 10:51:29 sr Exp $
Author:
Stepan Rutz
See Also:
NodeEvent, Node

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.
 

Method Detail

nodeAddedToGraph

public void nodeAddedToGraph(NodeEvent nodeevent)
This method is invoked on the listener if a Node was added to the graph.

Parameters:
nodeevent - the event structure that carries details about the event.

nodeRemovedFromGraph

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

Parameters:
nodeevent - the event structure that carries details about the event.

portAddedToNode

public void portAddedToNode(NodeEvent nodeevent)
This method is invoked on the listener if a Port is added to a Node.

Parameters:
nodeevent - the event structure that carries details about the event.

portRemovedFromNode

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

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.