| javax.media.jai.PropertyChangeEventJAI javax.media.jai.RenderingChangeEvent
RenderingChangeEvent | public class RenderingChangeEvent extends PropertyChangeEventJAI (Code) | | Class representing the event that occurs when a RenderedOp
node is re-rendered.
since: JAI 1.1 |
Method Summary | |
public Shape | getInvalidRegion() Returns an object which represents the region over which the
the two renderings should differ. |
RenderingChangeEvent | public RenderingChangeEvent(RenderedOp source, PlanarImage oldRendering, PlanarImage newRendering, Shape invalidRegion)(Code) | | Constructs a RenderingChangeEvent . The inherited
getSource() method of the event would return the
RenderedOp source; the inherited methods
getOldValue() and getNewValue()
would return the old and new renderings, respectively. If
either the new rendering or the invalid region is null, the
data of the node's rendering need to be re-requested.
The invalid region should be null if there is no
area of the extant rendering which remains valid. If the invalid
region is empty, this serves to indicate that all pixels within the
bounds of the old rendering remain valid. Pixels outside the image
bounds proper but within the bounds of all tiles of the image are
not guaranteed to be valid of the invalid region is empty.
|
getInvalidRegion | public Shape getInvalidRegion()(Code) | | Returns an object which represents the region over which the
the two renderings should differ.
The region over which the two renderings differ ornull to indicate that they differ everywhere.An empty Shape indicates that all pixelswithin the bounds of the old rendering remain valid. |
Methods inherited from javax.media.jai.PropertyChangeEventJAI | public String getOriginalPropertyName()(Code)(Java Doc)
|
|
|