Class ZTransformAdapter

All Implemented Interfaces:
java.util.EventListener,, ZTransformListener

public class ZTransformAdapter
extends java.lang.Object
implements ZTransformListener,

ZTransformAdapater is an abstract adapter class for receiving transform events. The methods in this class are empty. This class exists as convenience for creating listener objects. Based on Swing's ComponentListener.

Extend this class to create a ZTransformEvent listener and override the methods for the events of interest. (If you implement the ZTransformListener 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.)

Create a listener object using your class and then register it with a transform using the transform's addTransformListener method. When the transform's state changes, the relevant method in the listener object is invoked, and the ZTransformEvent is passed to it.

Warning: Serialized and ZSerialized objects of this class will not be compatible with future Jazz releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Jazz. A future release of Jazz will provide support for long term persistence.

Ben Bederson
See Also:
ZTransformAdapter, ZTransformEvent, Serialized Form

Constructor Summary
Method Summary
 void transformChanged(ZTransformEvent e)
          Invoked when the transform changes.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ZTransformAdapter()
Method Detail


public void transformChanged(ZTransformEvent e)
Invoked when the transform changes.

Specified by:
transformChanged in interface ZTransformListener

Copyright � 2003 by University of Maryland, College Park, MD 20742, USA All rights reserved.