edu.umd.cs.jazz.event
Interface ZTransformListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
ZTransformAdapter

public interface ZTransformListener
extends java.util.EventListener

ZTransformListener is an interface to support notification when changes occur to a ZTransformGroup. Based on Swing's ComponentListener.

The class that is interested in processing a transform event either implements this interface (and all the methods it contains) or extends the abstract ZTransformAdapter class (overriding only the methods of interest). The listener object created from that class is then registered with a ZTransform using the ZTransform's addTransformListener method. When the ZTransform's state changes, the relevant method in the listener object is invoked, and the ZTransformEvent is passed to it.

ZTransform events are provided for notification purposes ONLY; Jazz will automatically handle ZTransform state changes internally so that everything works properly regardless of whether a program registers a ZTransformListener or not.

Author:
Ben Bederson
See Also:
ZTransformAdapter, ZTransformEvent

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

Method Detail

transformChanged

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



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