Package org.apache.batik.bridge
Class UpdateManagerEvent
java.lang.Object
java.util.EventObject
org.apache.batik.bridge.UpdateManagerEvent
- All Implemented Interfaces:
Serializable
This class represents an event which indicate an event originated
from a UpdateManager instance.
- Version:
- $Id: UpdateManagerEvent.java 1733416 2016-03-03 07:07:13Z gadams $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
True if before painting this update the canvas's painting transform needs to be cleared.protected List
The dirty areas, as a List of Rectangles.protected BufferedImage
The buffered image.Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateManagerEvent
(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
Modifier and TypeMethodDescriptionboolean
returns true if the component should clear it's painting transform before painting the associated BufferedImage.Returns the dirty areas (list of rectangles)getImage()
Returns the image to display, or null if the rendering failed.Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
image
The buffered image. -
dirtyAreas
The dirty areas, as a List of Rectangles. -
clearPaintingTransform
protected boolean clearPaintingTransformTrue if before painting this update the canvas's painting transform needs to be cleared.
-
-
Constructor Details
-
UpdateManagerEvent
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
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 Details
-
getImage
Returns the image to display, or null if the rendering failed. -
getDirtyAreas
Returns the dirty areas (list of rectangles) -
getClearPaintingTransform
public boolean getClearPaintingTransform()returns true if the component should clear it's painting transform before painting the associated BufferedImage.
-