public class UpdateManagerEvent extends EventObject
Modifier and Type | Field and Description |
---|---|
protected boolean |
clearPaintingTransform
True if before painting this update the canvas's painting
transform needs to be cleared.
|
protected List |
dirtyAreas
The dirty areas, as a List of Rectangles.
|
protected BufferedImage |
image
The buffered image.
|
source
Constructor and Description |
---|
UpdateManagerEvent(Object source,
BufferedImage bi,
List das)
Creates a new UpdateManagerEvent.
|
UpdateManagerEvent(Object source,
BufferedImage bi,
List das,
boolean cpt)
Creates a new UpdateManagerEvent.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getClearPaintingTransform()
returns true if the component should clear it's painting transform
before painting the associated BufferedImage.
|
List |
getDirtyAreas()
Returns the dirty areas (list of rectangles)
|
BufferedImage |
getImage()
Returns the image to display, or null if the rendering failed.
|
getSource, toString
protected BufferedImage image
protected List dirtyAreas
protected boolean clearPaintingTransform
public UpdateManagerEvent(Object source, BufferedImage bi, List das)
source
- the object that originated the event, ie. the
UpdateManager.bi
- the image to paint.das
- List of dirty areas.public UpdateManagerEvent(Object source, BufferedImage bi, List das, boolean cpt)
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.public BufferedImage getImage()
public List getDirtyAreas()
public boolean getClearPaintingTransform()
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.