| java.lang.Object com.sun.perseus.model.ModelNode com.sun.perseus.model.ElementNodeProxy com.sun.perseus.model.CompositeGraphicsNodeProxy com.sun.perseus.model.AbstractRenderingNodeProxy
All known Subclasses: com.sun.perseus.model.AbstractShapeNodeProxy,
AbstractRenderingNodeProxy | public class AbstractRenderingNodeProxy extends CompositeGraphicsNodeProxy (Code) | | An AbstractRenderingNodeProxy delegates its rendering to a
proxied AbstractRenderingNode and also has its own rendering
manager.
version: $Id: AbstractRenderingNodeProxy.java,v 1.4 2006/06/29 10:47:29 ln156897 Exp $ |
Method Summary | |
Box | addBBox(Box bbox, Transform t) Parameters: bbox - the bounding box to which this node's bounding box should beappended. | Box | addNodeBBox(Box bbox, Transform t) Parameters: bbox - the bounding box to which this node's bounding box should beappended. | protected void | clearLastRenderedTile() After calling this method, getLastRenderedTile should always return null. | protected void | clearLayouts() Clears the text layouts, if any exist. | final protected void | computeRenderingTile(Tile tile) Computes this node's rendering tile.
Parameters: tile - the Tile instance whose bounds should be set. | public SVGRect | getBBox() the tight bounding box in current user coordinatespace. | protected Tile | getLastRenderedTile() the tile which encompasses the node's last actual rendering. | final protected Tile | getRenderingTile() | public boolean | hasNodeRendering() An AbstractNodeRendering has something to render. | public void | modifyingProxied() Proxied nodes should call this method when they are being modified. | void | nodeHookedInDocumentTree() To be overriddent by derived classes, such as TimedElementNode,
if they need to do special operations when hooked into the
document tree. | protected void | nodeRendered() Simply notifies the RenderingManager. | void | nodeUnhookedFromDocumentTree() To be overriddent by derived classes, such as TimedElementNode,
if they need to do special operations when unhooked from the
document tree. | public void | paint(RenderGraphics rg) Paints this node into the input RenderGraphics . | protected void | recomputeTransformState(Transform parentTransform) Recomputes the transform cache, if one exists. | final void | renderingDirty() Should be called whenever this node's rendering becomes dirty. | public void | setDisplay(boolean newDisplay) | protected void | setProxied(ElementNode newProxied) Modifies the node proxied by this proxy. | public void | setVisibility(boolean newVisibility) |
renderingManager | protected RenderingManager renderingManager(Code) | | Used to track the node's rendering area and the rendered areas.
|
AbstractRenderingNodeProxy | protected AbstractRenderingNodeProxy(AbstractRenderingNode proxiedNode)(Code) | | Parameters: proxiedNode - AbstractRenderingNode to proxy |
addBBox | Box addBBox(Box bbox, Transform t)(Code) | | Parameters: bbox - the bounding box to which this node's bounding box should beappended. That bounding box is in the target coordinate space. It may be null, in which case this node should create a new one. Parameters: t - the transform to apply from the node's coordinate space to thetarget coordinate space. May be null for the identity transform. the node's bounding box in the target coordinate space. |
addNodeBBox | Box addNodeBBox(Box bbox, Transform t)(Code) | | Parameters: bbox - the bounding box to which this node's bounding box should beappended. That bounding box is in the target coordinate space. It may be null, in which case this node should create a new one. Parameters: t - the transform from the node coordinate system to the coordinatesystem into which the bounds should be computed. the bounding box of this node, in the target coordinate space, |
clearLastRenderedTile | protected void clearLastRenderedTile()(Code) | | After calling this method, getLastRenderedTile should always return null.
|
clearLayouts | protected void clearLayouts()(Code) | | 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.
|
computeRenderingTile | final protected void computeRenderingTile(Tile tile)(Code) | | Computes this node's rendering tile.
Parameters: tile - the Tile instance whose bounds should be set. the device space rendering tile. |
getBBox | public SVGRect getBBox()(Code) | | the tight bounding box in current user coordinatespace. |
getLastRenderedTile | protected Tile getLastRenderedTile()(Code) | | the tile which encompasses the node's last actual rendering. |
getRenderingTile | final protected Tile getRenderingTile()(Code) | | the bounding box, in screen coordinate, which encompasses thenode's rendering. |
hasNodeRendering | public boolean hasNodeRendering()(Code) | | An AbstractNodeRendering has something to render.
true |
modifyingProxied | public void modifyingProxied()(Code) | | Proxied nodes should call this method when they are being modified.
|
nodeHookedInDocumentTree | void nodeHookedInDocumentTree()(Code) | | To be overriddent by derived classes, such as TimedElementNode,
if they need to do special operations when hooked into the
document tree.
|
nodeRendered | protected void nodeRendered()(Code) | | Simply notifies the RenderingManager.
|
nodeUnhookedFromDocumentTree | void nodeUnhookedFromDocumentTree()(Code) | | To be overriddent by derived classes, such as TimedElementNode,
if they need to do special operations when unhooked from the
document tree.
|
paint | public void paint(RenderGraphics rg)(Code) | | Paints this node into the input RenderGraphics .
Parameters: rg - the RenderGraphics where the node should paint itself |
recomputeTransformState | protected void recomputeTransformState(Transform parentTransform)(Code) | | Recomputes the transform cache, if one exists.
Parameters: parentTransform - the Transform applied to this node's parent. |
renderingDirty | final void renderingDirty()(Code) | | Should be called whenever this node's rendering becomes dirty.
|
setDisplay | public void setDisplay(boolean newDisplay)(Code) | | Parameters: newDisplay - the new computed display value |
setProxied | protected void setProxied(ElementNode newProxied)(Code) | | Modifies the node proxied by this proxy.
Parameters: newProxied - this node's new proxied node |
setVisibility | public void setVisibility(boolean newVisibility)(Code) | | Parameters: newVisibility - the new computed visibility property. |
Methods inherited from com.sun.perseus.model.CompositeGraphicsNodeProxy | protected boolean contributeBBox()(Code)(Java Doc) public SVGRect getBBox()(Code)(Java Doc) public RGB getColor()(Code)(Java Doc) public boolean getDisplay()(Code)(Java Doc) public PaintServer getFill()(Code)(Java Doc) public float getFillOpacity()(Code)(Java Doc) public int getFillRule()(Code)(Java Doc) protected float getFloatPropertyState(int propertyIndex)(Code)(Java Doc) public Transform getInverseTransformState()(Code)(Java Doc) public float getOpacity()(Code)(Java Doc) protected int getPackedPropertyState(int propertyIndex)(Code)(Java Doc) protected Object getPropertyState(int propertyIndex)(Code)(Java Doc) public PaintServer getStroke()(Code)(Java Doc) public float[] getStrokeDashArray()(Code)(Java Doc) public float getStrokeDashOffset()(Code)(Java Doc) public int getStrokeLineCap()(Code)(Java Doc) public int getStrokeLineJoin()(Code)(Java Doc) public float getStrokeMiterLimit()(Code)(Java Doc) public float getStrokeOpacity()(Code)(Java Doc) public float getStrokeWidth()(Code)(Java Doc) public Transform getTransformState()(Code)(Java Doc) public boolean getVisibility()(Code)(Java Doc) protected boolean isFloatPropertyState(int propertyIndex, float propertyValue)(Code)(Java Doc) protected boolean isPackedPropertyState(int propertyIndex, int propertyValue)(Code)(Java Doc) protected boolean isPropertyState(int propertyIndex, Object propertyValue)(Code)(Java Doc) public void onPaintServerUpdate(String paintType, PaintServer paintServer)(Code)(Java Doc) protected void propagateFloatPropertyState(int propertyIndex, float parentPropertyValue)(Code)(Java Doc) protected void propagatePackedPropertyState(int propertyIndex, int parentPropertyValue)(Code)(Java Doc) protected void propagatePropertyState(int propertyIndex, Object parentPropertyValue)(Code)(Java Doc) final protected void proxiedFloatPropertyStateChange(int propertyIndex, float proxiedComputedValue)(Code)(Java Doc) final protected void proxiedPackedPropertyStateChange(int propertyIndex, int proxiedComputedValue)(Code)(Java Doc) protected void proxiedPropertyStateChange(int propertyIndex, Object proxiedComputedValue)(Code)(Java Doc) protected void recomputeFloatPropertyState(int propertyIndex, float parentPropertyValue)(Code)(Java Doc) void recomputeInheritedProperties()(Code)(Java Doc) protected void recomputePackedPropertyState(int propertyIndex, int parentPropertyValue)(Code)(Java Doc) protected void recomputePropertyState(int propertyIndex, Object parentPropertyValue)(Code)(Java Doc) protected void recomputeTransformState(Transform parentTransform)(Code)(Java Doc) public void setColor(RGB newColor)(Code)(Java Doc) public void setDisplay(boolean newDisplay)(Code)(Java Doc) public void setFill(PaintServer newFill)(Code)(Java Doc) public void setFillOpacity(float newFillOpacity)(Code)(Java Doc) final public void setFillRule(int newFillRule)(Code)(Java Doc) protected void setFloatPropertyState(int propertyIndex, float propertyValue)(Code)(Java Doc) public void setOpacity(float newOpacity)(Code)(Java Doc) protected void setPackedPropertyState(int propertyIndex, int propertyValue)(Code)(Java Doc) protected void setPropertyState(int propertyIndex, Object propertyValue)(Code)(Java Doc) public void setStroke(PaintServer newStroke)(Code)(Java Doc) public void setStrokeDashArray(float[] newStrokeDashArray)(Code)(Java Doc) public void setStrokeDashOffset(float newStrokeDashOffset)(Code)(Java Doc) public void setStrokeLineCap(int newStrokeLineCap)(Code)(Java Doc) public void setStrokeLineJoin(int newStrokeLineJoin)(Code)(Java Doc) public void setStrokeMiterLimit(float newStrokeMiterLimit)(Code)(Java Doc) public void setStrokeOpacity(float newStrokeOpacity)(Code)(Java Doc) public void setStrokeWidth(float newStrokeWidth)(Code)(Java Doc) public void setVisibility(boolean newVisibility)(Code)(Java Doc)
|
Methods inherited from com.sun.perseus.model.ModelNode | Box addBBox(Box bbox, Transform t)(Code)(Java Doc) static Box addBBox(Box bbox, float x, float y, float width, float height)(Code)(Java Doc) public void addEventListener(String type, EventListener listener, boolean useCapture) throws DOMException(Code)(Java Doc) Box addNodeBBox(Box bbox, Transform t)(Code)(Java Doc) static Box addShapeBBox(Box bbox, Path path, Transform t)(Code)(Java Doc) static Box addTransformedBBox(Box bbox, float x, float y, float width, float height, Transform m)(Code)(Java Doc) protected Transform appendTransform(Transform tx, Transform workTx)(Code)(Java Doc) protected void clearLastRenderedTile()(Code)(Java Doc) abstract protected void clearLayouts()(Code)(Java Doc) void clearLayouts(ModelNode node)(Code)(Java Doc) final void computeCanRenderDisplayBit(boolean display)(Code)(Java Doc) final void computeCanRenderEmptyPathBit(Path path)(Code)(Java Doc) final void computeCanRenderEmptyViewBoxBit(float[][] viewBox)(Code)(Java Doc) final void computeCanRenderFontSizeBit(float fontSize)(Code)(Java Doc) final void computeCanRenderHeightBit(float height)(Code)(Java Doc) final void computeCanRenderRequiredExtensionsBit(String[] requiredExtensions)(Code)(Java Doc) final void computeCanRenderRequiredFeaturesBit(String[] requiredFeatures)(Code)(Java Doc) final void computeCanRenderSystemLanguageBit(String[] systemLanguage)(Code)(Java Doc) final void computeCanRenderTransformBit(Transform transform)(Code)(Java Doc) final void computeCanRenderWidthBit(float width)(Code)(Java Doc) protected void computeRenderingTile(Tile tile)(Code)(Java Doc) protected boolean contributeBBox()(Code)(Java Doc) public void dispatchEvent(ModelEvent evt)(Code)(Java Doc) abstract public ModelNode getFirstChildNode()(Code)(Java Doc) abstract ModelNode getFirstComputedExpandedChild()(Code)(Java Doc) abstract ModelNode getFirstExpandedChild()(Code)(Java Doc) protected float getFloatPropertyState(int propertyIndex)(Code)(Java Doc) final protected float getInheritedFloatPropertyState(int propertyIndex)(Code)(Java Doc) final protected int getInheritedPackedPropertyState(int propertyIndex)(Code)(Java Doc) final protected Object getInheritedPropertyState(int propertyIndex)(Code)(Java Doc) Transform getInverseTransformState()(Code)(Java Doc) abstract public ModelNode getLastChildNode()(Code)(Java Doc) abstract ModelNode getLastExpandedChild()(Code)(Java Doc) protected Tile getLastRenderedTile()(Code)(Java Doc) public ModelNode getNextSiblingNode()(Code)(Java Doc) public DocumentNode getOwnerDocument()(Code)(Java Doc) protected int getPackedPropertyState(int propertyIndex)(Code)(Java Doc) boolean getPaintNeedsLoad()(Code)(Java Doc) public ModelNode getParent()(Code)(Java Doc) public ModelNode getPreviousSiblingNode()(Code)(Java Doc) protected Object getPropertyState(int propertyIndex)(Code)(Java Doc) protected Tile getRenderingTile()(Code)(Java Doc) public SVGMatrix getScreenCTM()(Code)(Java Doc) public Transform getTransformState()(Code)(Java Doc) protected String getURIBase()(Code)(Java Doc) protected UpdateListener getUpdateListener()(Code)(Java Doc) public boolean hasDescendants()(Code)(Java Doc) protected boolean hasNodeRendering()(Code)(Java Doc) boolean inDocumentTree()(Code)(Java Doc) protected boolean isFloatPropertyState(int propertyIndex, float propertyValue)(Code)(Java Doc) protected boolean isInDocumentTree()(Code)(Java Doc) final public boolean isLoaded()(Code)(Java Doc) protected boolean isPackedPropertyState(int propertyIndex, int propertyValue)(Code)(Java Doc) protected boolean isPropertyState(int propertyIndex, Object propertyValue)(Code)(Java Doc) protected void modifiedNode()(Code)(Java Doc) protected void modifyingNode()(Code)(Java Doc) protected void modifyingNodeRendering()(Code)(Java Doc) public ModelNode nodeHitAt(float[] pt)(Code)(Java Doc) final protected ModelNode nodeHitAt(ModelNode node, float[] pt)(Code)(Java Doc) protected static void nodeInserted(ModelNode node)(Code)(Java Doc) protected void nodeRendered()(Code)(Java Doc) void onHookedInDocumentTree()(Code)(Java Doc) void onUnhookedFromDocumentTree()(Code)(Java Doc) static void paint(ModelNode node, RenderGraphics rg)(Code)(Java Doc) public void paint(RenderGraphics rg)(Code)(Java Doc) protected void propagateCanRenderState(int oldCanRenderState, int newCanRenderState)(Code)(Java Doc) protected void propagateFloatPropertyState(int propertyIndex, float parentPropertyValue)(Code)(Java Doc) protected void propagatePackedPropertyState(int propertyIndex, int parentPropertyValue)(Code)(Java Doc) protected void propagatePropertyState(int propertyIndex, Object parentPropertyValue)(Code)(Java Doc) protected void recomputeFloatPropertyState(int propertyIndex, float parentPropertyValue)(Code)(Java Doc) void recomputeInheritedProperties()(Code)(Java Doc) protected void recomputePackedPropertyState(int propertyIndex, int parentPropertyValue)(Code)(Java Doc) protected void recomputePropertyState(int propertyIndex, Object parentPropertyValue)(Code)(Java Doc) protected void recomputeTransformState()(Code)(Java Doc) protected void recomputeTransformState(Transform parentTransform)(Code)(Java Doc) void recomputeTransformState(Transform parentTransform, ModelNode node)(Code)(Java Doc) final protected Transform recycleTransform(Transform tx, Transform workTx)(Code)(Java Doc) public void removeEventListener(String type, EventListener listener, boolean useCapture) throws DOMException(Code)(Java Doc) protected void setFloatPropertyState(int propertyIndex, float propertyValue)(Code)(Java Doc) public void setLoaded(boolean isLoaded)(Code)(Java Doc) protected void setPackedPropertyState(int propertyIndex, int propertyValue)(Code)(Java Doc) protected void setParent(ModelNode newParent)(Code)(Java Doc) protected void setParentQuiet(ModelNode newParent)(Code)(Java Doc) protected void setPropertyState(int propertyIndex, Object propertyValue)(Code)(Java Doc) abstract protected void unhookChildrenQuiet()(Code)(Java Doc) abstract protected void unhookExpandedQuiet()(Code)(Java Doc) final protected void unhookQuiet(ModelNode node)(Code)(Java Doc)
|
|
|