| |
|
| java.lang.Object com.sun.perseus.model.ModelNode com.sun.perseus.model.ElementNodeProxy com.sun.perseus.model.CompositeGraphicsNodeProxy com.sun.perseus.model.StructureNodeProxy com.sun.perseus.model.TextProxy
TextProxy | public class TextProxy extends StructureNodeProxy (Code) | | A TextProxy proxies a Text node and
computes its expanded content from the proxied text's data
content.
version: $Id: TextProxy.java,v 1.10 2006/06/29 10:47:35 ln156897 Exp $ |
renderingManager | protected RenderingManager renderingManager(Code) | | Used to track the node's rendering area and the rendered areas.
|
TextProxy | public TextProxy(Text proxiedText)(Code) | | Parameters: proxiedText - Text node to proxy. |
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, |
checkLayout | void checkLayout()(Code) | | Checks that the text's layout has been computed and computes it in
case it was not.
|
clearLayouts | public void clearLayouts()(Code) | | Clears the node's layout cache. For ElementNodeProxy,
we just reset the node so that expanded content be
computed again and we request the proxied node to
also clear its layout cache. This is to ensure that
Font Data Base changes are covered.
|
clearLayoutsQuiet | public void clearLayoutsQuiet()(Code) | | Clears all cached layout information
but does not generate modification
events for this node.
|
computeRenderingTile | protected void computeRenderingTile(Tile tile)(Code) | | This method is overridden for elements which has special renderings,
such as the ShapeNodes.
Parameters: tile - the Tile instance whose bounds should be set. |
getBBox | public SVGRect getBBox()(Code) | | the tight bounding box in current user coordinatespace. |
hasNodeRendering | public boolean hasNodeRendering()(Code) | | An TextProxy has something to render
true |
paint | public void paint(RenderGraphics rg)(Code) | | Paints this node into the input RenderGraphics .
Parameters: rg - the RenderGraphics where the node should paint itself |
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 |
setFill | public void setFill(PaintServer newFill)(Code) | | Parameters: newFill - the new computed fill property. |
setFillOpacity | public void setFillOpacity(float newFillOpacity)(Code) | | Parameters: newFillOpacity - the new computed value for the fill opacity property. |
setFontFamily | public void setFontFamily(String[] newFontFamily)(Code) | | Parameters: newFontFamily - the new computed font-family property value. |
setFontSize | public void setFontSize(float newFontSize)(Code) | | Parameters: newFontSize - the new computed font-size property value. |
setFontStyle | public void setFontStyle(int newFontStyle)(Code) | | Parameters: newFontStyle - the new computed font-style property. |
setFontWeight | public void setFontWeight(int newFontWeight)(Code) | | Parameters: newFontWeight - new computed value for the font-weight property. |
setStroke | public void setStroke(PaintServer newStroke)(Code) | | Parameters: newStroke - the new computed stroke property. |
setStrokeDashArray | public void setStrokeDashArray(float[] newStrokeDashArray)(Code) | | Parameters: newStrokeDashArray - the new computed stroke-dasharray property value. |
setStrokeDashOffset | public void setStrokeDashOffset(float newStrokeDashOffset)(Code) | | Parameters: newStrokeDashOffset - the new stroke-dashoffset computed property value. |
setStrokeLineCap | public void setStrokeLineCap(int newStrokeLineCap)(Code) | | Parameters: newStrokeLineCap - the new value for the stroke-linecap property. |
setStrokeLineJoin | public void setStrokeLineJoin(int newStrokeLineJoin)(Code) | | Parameters: newStrokeLineJoin - the new computed value for stroke-line-join |
setStrokeMiterLimit | public void setStrokeMiterLimit(float newStrokeMiterLimit)(Code) | | Parameters: newStrokeMiterLimit - the new computed stroke-miterlimit property. |
setStrokeOpacity | public void setStrokeOpacity(float newStrokeOpacity)(Code) | | Parameters: newStrokeOpacity - the new computed stroke-opacity property. |
setStrokeWidth | public void setStrokeWidth(float newStrokeWidth)(Code) | | Parameters: newStrokeWidth - the new computed stroke-width property value. |
setTextAnchor | public void setTextAnchor(int newTextAnchor)(Code) | | Sets the value of the computed text anchor property.
Parameters: newTextAnchor - the new value for the computed text anchor property. |
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)
|
|
|
|