javax.media.jai
Class PropertySourceChangeEvent
java.lang.Object
|
+--java.util.EventObject
|
+--java.beans.PropertyChangeEvent
|
+--javax.media.jai.PropertyChangeEventJAI
|
+--javax.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
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
.