| java.lang.Object com.sun.perseus.model.ModelNode com.sun.perseus.model.ElementNodeProxy com.sun.perseus.model.CompositeGraphicsNodeProxy com.sun.perseus.model.StructureNodeProxy
All known Subclasses: com.sun.perseus.model.TextProxy, com.sun.perseus.model.UseProxy,
StructureNodeProxy | public class StructureNodeProxy extends CompositeGraphicsNodeProxy implements TextRenderingProperties(Code) | | A TextProxy proxies a Text node and
computes its expanded content from the proxied text's data
content.
version: $Id: StructureNodeProxy.java,v 1.4 2006/06/29 10:47:35 ln156897 Exp $ |
fontFamily | protected String[] fontFamily(Code) | | Controls this node's fontFamily
|
fontSize | protected float fontSize(Code) | | Controls this node's fontSize
|
StructureNodeProxy | protected StructureNodeProxy(StructureNode proxiedNode)(Code) | | Parameters: proxiedNode - StructureNode 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. |
getBBox | public SVGRect getBBox()(Code) | | the tight bounding box in current user coordinatespace. |
getFloatPropertyState | protected float getFloatPropertyState(int propertyIndex)(Code) | | Returns the value for the given float property.
the value for the given property. |
getFontFamily | public String[] getFontFamily()(Code) | | this node's computed font-family |
getFontSize | public float getFontSize()(Code) | | this node's computed fontSize |
getFontStyle | public int getFontStyle()(Code) | | this node's computed fontStyle |
getFontWeight | public int getFontWeight()(Code) | | this node's computed fontWeight |
getPackedPropertyState | protected int getPackedPropertyState(int propertyIndex)(Code) | | Returns the value for the given packed property.
the value for the given property. |
getPropertyState | protected Object getPropertyState(int propertyIndex)(Code) | | Returns the value for the given property.
the value for the given property. |
getTextAnchor | public int getTextAnchor()(Code) | | this node's computed textAnchor |
isFloatPropertyState | protected boolean isFloatPropertyState(int propertyIndex, float propertyValue)(Code) | | Checks the state of the float property value.
Parameters: propertyIndex - the property index Parameters: propertyValue - the computed value for the property. |
isPackedPropertyState | protected boolean isPackedPropertyState(int propertyIndex, int propertyValue)(Code) | | Checks the state of the property value.
Parameters: propertyIndex - the property index Parameters: propertyValue - the computed value for the property. |
isPropertyState | protected boolean isPropertyState(int propertyIndex, Object propertyValue)(Code) | | Checks the state of the property value.
Parameters: propertyIndex - the property index Parameters: propertyValue - the computed value for the property. |
paint | public void paint(RenderGraphics rg)(Code) | | By default, an ElementNodeProxy does not paint anything.
Parameters: rg - the RenderGraphics where the node should paint itself |
recomputeInheritedProperties | void recomputeInheritedProperties()(Code) | | Recomputes all inherited properties.
|
recomputePackedPropertyState | protected void recomputePackedPropertyState(int propertyIndex, int parentPropertyValue)(Code) | | Recomputes the given packed property's state given the new parent
property.
Parameters: propertyIndex - index for the property whose value is changing. Parameters: parentPropertyValue - the value that children of this node should now inherit. |
setFloatPropertyState | protected void setFloatPropertyState(int propertyIndex, float propertyValue)(Code) | | Sets the computed value for the given float property.
Parameters: propertyIndex - the property index Parameters: propertyValue - the computed value for the 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. |
setPackedPropertyState | protected void setPackedPropertyState(int propertyIndex, int propertyValue)(Code) | | Sets the computed value for the given packed property.
Parameters: propertyIndex - the property index Parameters: propertyValue - the computed value for the property. |
setPropertyState | protected void setPropertyState(int propertyIndex, Object propertyValue)(Code) | | Sets the computed value for the given property.
Parameters: propertyIndex - the property index Parameters: propertyValue - the computed value for the property. |
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. |
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)
|
|
|