javax.media.jai
Class PropertySourceChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjava.beans.PropertyChangeEvent
          extended byjavax.media.jai.PropertyChangeEventJAI
              extended byjavax.media.jai.PropertySourceChangeEvent
All Implemented Interfaces:
Serializable

public class PropertySourceChangeEvent
extends PropertyChangeEventJAI

A class instances of which represent JAI properties as emitted for example by a PropertySource but in the guise of an event as defined for Java Beans. This class definition adds no functionality to that provided by the superclass per se. The significance of the derivation is that instances of this event by definition refer to properties in the JAI sense of the term. Otherwise put, this class provides an extra level of indirection.

Since:
JAI 1.1
See Also:
PropertyChangeEventJAI, PropertySource, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PropertySourceChangeEvent(Object source, String propertyName, Object oldValue, Object newValue)
          Constructs a PropertySourceChangeEvent.
 
Methods inherited from class javax.media.jai.PropertyChangeEventJAI
getOriginalPropertyName
 
Methods inherited from class java.beans.PropertyChangeEvent
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertySourceChangeEvent

public PropertySourceChangeEvent(Object source,
                                 String propertyName,
                                 Object oldValue,
                                 Object newValue)
Constructs a PropertySourceChangeEvent. propertyName is forced to lower case; all other parameters are passed unmodified to the superclass constructor. If oldValue or newValue is to indicate a property for which no value is defined, then the object java.awt.Image.UndefinedProperty should be passed.

Throws:
NullPointerException - if propertyName is null.
IllegalArgumentException - if source, oldValue or newValue is null.