com.tensegrity.graph.event
Class EdgeListenerAdapter

java.lang.Object
  extended bycom.tensegrity.graph.event.EdgeListenerAdapter
All Implemented Interfaces:
EdgeListener, EventListenerTag

public class EdgeListenerAdapter
extends java.lang.Object
implements EdgeListener

A convenience adapter-class for edgelisteners.

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

Constructor Summary
EdgeListenerAdapter()
          Constructs a EdgeListenerAdapter instance.
 
Method Summary
 void edgeAddedToGraph(EdgeEvent edgeevent)
          This method is invoked on the listener if an Edge was added to the graph.
 void edgeRemovedFromGraph(EdgeEvent edgeevent)
          This method is invoked on the listener if an Edge was removed from the graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeListenerAdapter

public EdgeListenerAdapter()
Constructs a EdgeListenerAdapter instance.

Method Detail

edgeAddedToGraph

public void edgeAddedToGraph(EdgeEvent edgeevent)
Description copied from interface: EdgeListener
This method is invoked on the listener if an Edge was added to the graph.

Specified by:
edgeAddedToGraph in interface EdgeListener
Parameters:
edgeevent - the event structure that carries details about the event.

edgeRemovedFromGraph

public void edgeRemovedFromGraph(EdgeEvent edgeevent)
Description copied from interface: EdgeListener
This method is invoked on the listener if an Edge was removed from the graph.

Specified by:
edgeRemovedFromGraph in interface EdgeListener
Parameters:
edgeevent - the event structure that carries details about the event.


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