The implementation of PropertyChangeListener . This
method responds to certain PropertyChangeEvent s generated
by the PropertySource used to construct this object.
If the PropertyChangeEvent is named "Rendering" and is
an instance of javax.media.jai.RenderingChangeEvent , then
the source of the event is checked to determine whether it equals the
PropertySource used to construct this object. If this test
is passed then the PropertySource is a
RenderedOp the rendering of which has changed. Therefore
setData() will be invoked with a null argument. This will indicate to
any registered observers that the property data should be re-requested
by invoking getData() on this object.
If the PropertyChangeEvent was generated by the
PropertySource used to construct this object, has name
equal to the name of the deferred property, and is an instance of
PropertySourceChangeEvent , then the value returned by
the getNewValue() method of the event object will be
passed to setData() unless getNewValue()
returns java.awt.Image.UndefinedProperty in which case
null will be passed to setData() . Registered
observers will be notified according to the specification of
setData() .
|