Methods Summary |
---|
com.sun.perseus.j2d.Box | addBBox(com.sun.perseus.j2d.Box bbox, com.sun.perseus.j2d.Transform t)
return addNodeBBox(bbox, t);
|
com.sun.perseus.j2d.Box | addNodeBBox(com.sun.perseus.j2d.Box bbox, com.sun.perseus.j2d.Transform t)
return proxied.addNodeBBox(bbox, t);
|
protected void | clearLastRenderedTile()After calling this method, getLastRenderedTile should always return null.
renderingManager.clearLastRenderedTile();
|
protected void | clearLayouts()Clears the text layouts, if any exist. This is typically
called when the font selection has changed and nodes such
as Text should recompute their layouts.
This should recursively call clearLayouts on children
node or expanded content, if any.
|
protected final void | computeRenderingTile(com.sun.perseus.j2d.Tile tile)Computes this node's rendering tile.
((AbstractRenderingNode) proxied).computeRenderingTile(tile, txf, this);
|
public org.w3c.dom.svg.SVGRect | getBBox()
return addNodeBBox(null, null);
|
protected com.sun.perseus.j2d.Tile | getLastRenderedTile()
return renderingManager.getLastRenderedTile();
|
protected final com.sun.perseus.j2d.Tile | getRenderingTile()
return renderingManager.getRenderingTile();
|
public boolean | hasNodeRendering()An AbstractNodeRendering has something to render.
return true;
|
public void | modifyingProxied()Proxied nodes should call this method when they are being modified.
super.modifyingProxied();
renderingDirty();
|
void | nodeHookedInDocumentTree()To be overriddent by derived classes, such as TimedElementNode,
if they need to do special operations when hooked into the
document tree.
renderingDirty();
|
protected void | nodeRendered()Simply notifies the RenderingManager.
if (DirtyAreaManager.ON) {
renderingManager.rendered();
}
|
void | nodeUnhookedFromDocumentTree()To be overriddent by derived classes, such as TimedElementNode,
if they need to do special operations when unhooked from the
document tree.
renderingDirty();
|
public void | paint(com.sun.perseus.j2d.RenderGraphics rg)Paints this node into the input RenderGraphics .
if (canRenderState != 0) {
return;
}
if (DirtyAreaManager.ON) {
Tile primitiveTile = getRenderingTile();
if (primitiveTile == null
||
rg.getRenderingTile().isHit(primitiveTile)) {
// rg.setPrimitiveTile(primitiveTile);
((AbstractRenderingNode) proxied).paintRendered(rg, this, this,
txf);
// nodeRendered is called seperately from paintRendered
// because paintRendered is used in different contexts,
// for example by proxy nodes to render, using their
// proxied node's paintRendered method.
nodeRendered();
}
} else {
((AbstractRenderingNode) proxied).paintRendered(rg, this, this,
txf);
}
|
protected void | recomputeTransformState(com.sun.perseus.j2d.Transform parentTransform)Recomputes the transform cache, if one exists.
super.recomputeTransformState(parentTransform);
renderingDirty();
|
final void | renderingDirty()Should be called whenever this node's rendering becomes dirty.
if (DirtyAreaManager.ON) {
renderingManager.dirty();
}
|
public void | setDisplay(boolean newDisplay)
super.setDisplay(newDisplay);
renderingDirty();
|
protected void | setProxied(ElementNode newProxied)Modifies the node proxied by this proxy.
if (this.proxied == newProxied) {
return;
}
super.setProxied(newProxied);
renderingDirty();
|
public void | setVisibility(boolean newVisibility)
super.setVisibility(newVisibility);
renderingDirty();
|