org.apache.batik.gvt.event
Class CompositeGraphicsNodeAdapter

java.lang.Object
  |
  +--org.apache.batik.gvt.event.CompositeGraphicsNodeAdapter
All Implemented Interfaces:
CompositeGraphicsNodeListener, java.util.EventListener

public abstract class CompositeGraphicsNodeAdapter
extends java.lang.Object
implements CompositeGraphicsNodeListener

An abstract adapter class for receiving composite graphics node events. The methods in this class are empty. This class exists as convenience for creating listener objects.

Extend this class to create a CompositeGraphicsNodeEvent listener and override the methods for the events of interest. (If you implement the CompositeGraphicsNodeListener interface, you have to define all of the methods in it. This abstract class defines null methods for them all, so you can only have to define methods for events you care about.)


Constructor Summary
CompositeGraphicsNodeAdapter()
           
 
Method Summary
 void graphicsNodeAdded(CompositeGraphicsNodeEvent evt)
          Invoked when a graphics node has been added.
 void graphicsNodeRemoved(CompositeGraphicsNodeEvent evt)
          Invoked when a graphics node has been removed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeGraphicsNodeAdapter

public CompositeGraphicsNodeAdapter()
Method Detail

graphicsNodeAdded

public void graphicsNodeAdded(CompositeGraphicsNodeEvent evt)
Description copied from interface: CompositeGraphicsNodeListener
Invoked when a graphics node has been added.
Specified by:
graphicsNodeAdded in interface CompositeGraphicsNodeListener
Following copied from interface: org.apache.batik.gvt.event.CompositeGraphicsNodeListener
Parameters:
evt - the composite graphics node event

graphicsNodeRemoved

public void graphicsNodeRemoved(CompositeGraphicsNodeEvent evt)
Description copied from interface: CompositeGraphicsNodeListener
Invoked when a graphics node has been removed.
Specified by:
graphicsNodeRemoved in interface CompositeGraphicsNodeListener
Following copied from interface: org.apache.batik.gvt.event.CompositeGraphicsNodeListener
Parameters:
evt - the composite graphics node event


Copyright © 2001 Apache Software Foundation. All Rights Reserved.