public class UpdateManagerEvent
extends java.util.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 java.util.List |
dirtyAreas
The dirty areas, as a List of Rectangles.
|
protected java.awt.image.BufferedImage |
image
The buffered image.
|
| Constructor and Description |
|---|
UpdateManagerEvent(java.lang.Object source,
java.awt.image.BufferedImage bi,
java.util.List das)
Creates a new UpdateManagerEvent.
|
UpdateManagerEvent(java.lang.Object source,
java.awt.image.BufferedImage bi,
java.util.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.
|
java.util.List |
getDirtyAreas()
Returns the dirty areas (list of rectangles)
|
java.awt.image.BufferedImage |
getImage()
Returns the image to display, or null if the rendering failed.
|
protected java.awt.image.BufferedImage image
protected java.util.List dirtyAreas
protected boolean clearPaintingTransform
public UpdateManagerEvent(java.lang.Object source,
java.awt.image.BufferedImage bi,
java.util.List das)
source - the object that originated the event, ie. the
UpdateManager.bi - the image to paint.das - List of dirty areas.public UpdateManagerEvent(java.lang.Object source,
java.awt.image.BufferedImage bi,
java.util.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 java.awt.image.BufferedImage getImage()
public java.util.List getDirtyAreas()
public boolean getClearPaintingTransform()
Copyright ? 2009 Apache Software Foundation. All Rights Reserved.