org.apache.batik.bridge

Class UpdateManagerEvent

public class UpdateManagerEvent extends EventObject

This class represents an event which indicate an event originated from a UpdateManager instance.
Field Summary
protected booleanclearPaintingTransform
True if before painting this update the canvas's painting transform needs to be cleared.
protected ListdirtyAreas
The dirty areas, as a List of Rectangles.
protected BufferedImageimage
The buffered image.
Constructor Summary
UpdateManagerEvent(Object source, BufferedImage bi, List das)
Creates a new UpdateManagerEvent.
UpdateManagerEvent(Object source, BufferedImage bi, List das, boolean cpt)
Creates a new UpdateManagerEvent.
Method Summary
booleangetClearPaintingTransform()
returns true if the component should clear it's painting transform before painting the associated BufferedImage.
ListgetDirtyAreas()
Returns the dirty areas (list of rectangles)
BufferedImagegetImage()
Returns the image to display, or null if the rendering failed.

Field Detail

clearPaintingTransform

protected boolean clearPaintingTransform
True if before painting this update the canvas's painting transform needs to be cleared.

dirtyAreas

protected List dirtyAreas
The dirty areas, as a List of Rectangles.

image

protected BufferedImage image
The buffered image.

Constructor Detail

UpdateManagerEvent

public UpdateManagerEvent(Object source, BufferedImage bi, List das)
Creates a new UpdateManagerEvent.

Parameters: source the object that originated the event, ie. the UpdateManager. bi the image to paint. das List of dirty areas.

UpdateManagerEvent

public UpdateManagerEvent(Object source, BufferedImage bi, List das, boolean cpt)
Creates a new UpdateManagerEvent.

Parameters: source the object that originated the event, ie. the UpdateManager. bi the image to paint. das List of dirty areas. cpt Indicates if the painting transform should be cleared as a result of this event.

Method Detail

getClearPaintingTransform

public boolean getClearPaintingTransform()
returns true if the component should clear it's painting transform before painting the associated BufferedImage.

getDirtyAreas

public List getDirtyAreas()
Returns the dirty areas (list of rectangles)

getImage

public BufferedImage getImage()
Returns the image to display, or null if the rendering failed.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.