|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.gvt.event.GraphicsNodeChangeAdapter
org.apache.batik.gvt.UpdateTracker
public class UpdateTracker
This class tracks the changes on a GVT tree
| Field Summary | |
|---|---|
protected static Rectangle2D |
NULL_RECT
|
| Constructor Summary | |
|---|---|
UpdateTracker()
|
|
| Method Summary | |
|---|---|
void |
changeStarted(GraphicsNodeChangeEvent gnce)
Receives notification of a change to a GraphicsNode. |
void |
clear()
Clears the tracker. |
List |
getDirtyAreas()
Returns the list of dirty areas on GVT. |
Rectangle2D |
getNodeDirtyRegion(GraphicsNode gn)
|
Rectangle2D |
getNodeDirtyRegion(GraphicsNode gn,
AffineTransform at)
This returns the dirty region for gn in the coordinate system given by at. |
boolean |
hasChanged()
Tells whether the GVT tree has changed. |
| Methods inherited from class org.apache.batik.gvt.event.GraphicsNodeChangeAdapter |
|---|
changeCompleted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Rectangle2D NULL_RECT
| Constructor Detail |
|---|
public UpdateTracker()
| Method Detail |
|---|
public boolean hasChanged()
public List getDirtyAreas()
public Rectangle2D getNodeDirtyRegion(GraphicsNode gn,
AffineTransform at)
at.
gn - Node tree to return dirty region for.at - Affine transform to coordinate space to accumulate
dirty regions in.public Rectangle2D getNodeDirtyRegion(GraphicsNode gn)
public void changeStarted(GraphicsNodeChangeEvent gnce)
changeStarted in interface GraphicsNodeChangeListenerchangeStarted in class GraphicsNodeChangeAdaptergnce - The event object describing the GraphicsNode change.public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||