Class UpdateTracker
java.lang.Object
org.apache.batik.gvt.event.GraphicsNodeChangeAdapter
org.apache.batik.gvt.UpdateTracker
- All Implemented Interfaces:
EventListener, GraphicsNodeChangeListener
This class tracks the changes on a GVT tree
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReceives notification of a change to a GraphicsNode.voidclear()Clears the tracker.Returns the list of dirty areas on GVT.This returns the dirty region for gn in the coordinate system given byat.booleanTells whether the GVT tree has changed.Methods inherited from class GraphicsNodeChangeAdapter
changeCompleted
-
Field Details
-
NULL_RECT
-
-
Constructor Details
-
UpdateTracker
public UpdateTracker()
-
-
Method Details
-
hasChanged
public boolean hasChanged()Tells whether the GVT tree has changed. -
getDirtyAreas
Returns the list of dirty areas on GVT. -
getNodeDirtyRegion
This returns the dirty region for gn in the coordinate system given byat.- Parameters:
gn- Node tree to return dirty region for.at- Affine transform to coordinate space to accumulate dirty regions in.
-
getNodeDirtyRegion
-
changeStarted
Receives notification of a change to a GraphicsNode.- Specified by:
changeStartedin interfaceGraphicsNodeChangeListener- Overrides:
changeStartedin classGraphicsNodeChangeAdapter- Parameters:
gnce- The event object describing the GraphicsNode change.
-
clear
public void clear()Clears the tracker.
-