com.tensegrity.graph.event
Interface VisualNodeListener

All Superinterfaces:
EventListenerTag
All Known Subinterfaces:
VisualGraphEventMediatorListener
All Known Implementing Classes:
GraphEventMultiplexer, TreeOutliner, VisualGraphEventMediator, VisualGraphEventMediatorAdapter, VisualNodeListenerAdapter

public interface VisualNodeListener
extends EventListenerTag

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

Version:
$Id: VisualNodeListener.java,v 1.6 2004/05/05 10:51:29 sr Exp $
Author:
Stepan Rutz

Method Summary
 void visualNodeAdded(VisualNodeEvent event)
          This method is invoked when a VisualNode is added.
 void visualNodeRemoved(VisualNodeEvent event)
          This method is invoked when a VisualNode is removed.
 void visualPortAdded(VisualNodeEvent event)
          This method is invoked on the listener if a VisualPort is added to a VisualNode.
 void visualPortRemoved(VisualNodeEvent event)
          This method is invoked on the listener if a VisualPort is removed from a VisualNode.
 

Method Detail

visualNodeAdded

public void visualNodeAdded(VisualNodeEvent event)
This method is invoked when a VisualNode is added.

Parameters:
event - the event structure carrying additional information.

visualNodeRemoved

public void visualNodeRemoved(VisualNodeEvent event)
This method is invoked when a VisualNode is removed.

Parameters:
event - the event structure carrying additional information.

visualPortAdded

public void visualPortAdded(VisualNodeEvent event)
This method is invoked on the listener if a VisualPort is added to a VisualNode.


visualPortRemoved

public void visualPortRemoved(VisualNodeEvent event)
This method is invoked on the listener if a VisualPort is removed from a VisualNode.

Parameters:
event - the structure that holds details about the event.


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