|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.apache.batik.bridge.UpdateManagerEvent
public class UpdateManagerEvent
This class represents an event which indicate an event originated from a UpdateManager instance.
| Field Summary | |
|---|---|
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. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| 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 | |
|---|---|
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. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected BufferedImage image
protected List dirtyAreas
protected boolean clearPaintingTransform
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public BufferedImage getImage()
public List getDirtyAreas()
public boolean getClearPaintingTransform()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||