javax.media.jai
Class PropertyChangeEventJAI
java.lang.Object
|
+--java.util.EventObject
|
+--java.beans.PropertyChangeEvent
|
+--javax.media.jai.PropertyChangeEventJAI
- All Implemented Interfaces:
- Serializable
- 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.
- Since:
- JAI 1.1
- See Also:
- Serialized Form
PropertyChangeEventJAI
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()
.
- Throws:
NullPointerException
- if propertyName
is
null
.IllegalArgumentException
- if source
is
null
or if oldValue
and
newValue
are both null
.
getOriginalPropertyName
public String getOriginalPropertyName()
- Returns the value of
propertyName
originally passed to
the class constructor. This name has its case retained.