java.util.EventListener, GraphicsNodeChangeListenerpublic class UpdateTracker extends GraphicsNodeChangeAdapter
| Modifier and Type | Field | Description |
|---|---|---|
protected static java.awt.geom.Rectangle2D |
NULL_RECT |
| Constructor | Description |
|---|---|
UpdateTracker() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
changeStarted(GraphicsNodeChangeEvent gnce) |
Receives notification of a change to a GraphicsNode.
|
void |
clear() |
Clears the tracker.
|
java.util.List |
getDirtyAreas() |
Returns the list of dirty areas on GVT.
|
java.awt.geom.Rectangle2D |
getNodeDirtyRegion(GraphicsNode gn) |
|
java.awt.geom.Rectangle2D |
getNodeDirtyRegion(GraphicsNode gn,
java.awt.geom.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.
|
changeCompletedpublic boolean hasChanged()
public java.util.List getDirtyAreas()
public java.awt.geom.Rectangle2D getNodeDirtyRegion(GraphicsNode gn, java.awt.geom.AffineTransform at)
at.gn - Node tree to return dirty region for.at - Affine transform to coordinate space to accumulate
dirty regions in.public java.awt.geom.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()
Copyright ? 2018 Apache Software Foundation. All Rights Reserved.