Class PropertyChangeEventJAI

All Implemented Interfaces:
Direct Known Subclasses:
CollectionChangeEvent, PropertySourceChangeEvent, RenderingChangeEvent

public class PropertyChangeEventJAI
extends PropertyChangeEvent

A class instances of which represent Java Bean-style events emitted by JAI objects. This class definition adds no functionality to that provided by the superclass. The significance of the derivation is that bean events will be easily identifiable as having been generated by JAI classes by virtue of their being instances of this event class. Note that this does not prevent JAI properties from colliding with other Java Bean properties in the Bean property name space.

JAI 1.1
See Also:
Serialized Form

Fields inherited from class java.util.EventObject
Constructor Summary
PropertyChangeEventJAI(Object source, String propertyName, Object oldValue, Object newValue)
          Constructs a PropertyChangeEventJAI.
Method Summary
 String getOriginalPropertyName()
          Returns the value of propertyName originally passed to the class constructor.
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


public PropertyChangeEventJAI(Object source,
                              String propertyName,
                              Object oldValue,
                              Object newValue)
Constructs a PropertyChangeEventJAI. propertyName is forced to lower case; all other parameters are passed unmodified to the superclass constructor. The original property name may be obtained by invoking getOriginalPropertyName().
NullPointerException - if propertyName is null.
IllegalArgumentException - if source is null or if oldValue and newValue are both null.
Method Detail


public String getOriginalPropertyName()
Returns the value of propertyName originally passed to the class constructor. This name has its case retained.