| java.lang.Object com.sun.perseus.model.ModelNode com.sun.perseus.model.CompositeNode com.sun.perseus.model.ElementNode com.sun.perseus.model.CompositeGraphicsNode com.sun.perseus.model.AbstractRenderingNode com.sun.perseus.model.ImageNode
ImageNode | public class ImageNode extends AbstractRenderingNode implements RasterImageConsumer(Code) | | This class models the SVG Tiny <image> .
A value of 0 on the width and height attributes disables the
rendering of the Image object. Negative width or height values
on the ImageNode are illegal.
If the referenced Image is null, this node will draw
a gray box using the current fill value
version: $Id: ImageNode.java,v 1.17 2006/06/29 10:47:32 ln156897 Exp $ |
Method Summary | |
Box | addNodeBBox(Box bbox, Transform t) Parameters: bbox - the bounding box to which this node's bounding box should beappended. | protected void | computeRenderingTile(Tile tile, Transform t, GraphicsProperties gp) Computes the rendering tile for the given set of GraphicsProperties.
Parameters: tile - the Tile instance whose bounds should be set. Parameters: t - the Transform to the requested tile space, from this node's userspace. Parameters: gp - the GraphicsProperties for which the tileshould be computed. | TraitAnim | createTraitAnimImpl(String traitName) | TraitAnim | createTraitAnimNSImpl(String traitNamespace, String traitName) Parameters: traitName - the trait name. Parameters: traitNamespace - the trait's namespace. | public int | getAlign() | float | getFloatTraitImpl(String name) ImageNode handles x, y, width and height traits. | public float | getHeight() | public String | getHref() this node's image reference. | public RasterImage | getImage() this node's Image resource. | public String | getLocalName() | public String[] | getRequiredTraits() | public String[][] | getRequiredTraitsNS() | public RunnableHandler | getRunnableHandler() | public String | getTraitImpl(String name) ImageNode handles x, y, width and height traits.
Other traits are handled by the super class.
Parameters: name - the requested trait's name. | String | getTraitNSImpl(String namespaceURI, String name) | public RunnableQueue | getUpdateQueue() the associated RunnableQueue. | public float | getWidth() | public float | getX() | public float | getY() | public boolean | hasNodeRendering() | protected boolean | isHitVP(float[] pt) Returns true if this node is hit by the input point. | protected boolean | isProxyHitVP(float[] pt, AbstractRenderingNodeProxy proxy) Returns true if the proxy node is hit by the input point. | public void | loadImage() Implementation. | public ElementNode | newInstance(DocumentNode doc) Used by DocumentNode to create a new instance from
a prototype ImageNode .
Parameters: doc - the DocumentNode for which a new node isshould be created. | void | paintRendered(RenderGraphics rg, GraphicsProperties gp, PaintTarget pt, Transform tx) Paints this node into the input RenderGraphics. | public void | setAlign(int newAlign) | void | setFloatArrayTrait(String name, float[][] value) Set the trait value as float. | public void | setFloatTraitImpl(String name, float value) ImageNode handles x, y, rx, ry, width and height traits. | public void | setHeight(float newHeight) | public void | setHref(String newHref) | public void | setImage(RasterImage image, String uri) Sets the node's image if the computed absolute URI
is equal to the input uri.
Parameters: image - the new node image. | protected void | setParentQuiet(ModelNode newParent) Sets this node's parent but does not generate change
events. | public void | setTraitImpl(String name, String value) ImageNode handles x, y, rx, ry, width and height traits. | public void | setTraitNSImpl(String namespaceURI, String name, String value) ImageNode supports the xlink:href trait. | public void | setWidth(float newWidth) Parameters: newWidth - this node's new width. | public void | setX(float newX) | public void | setY(float newY) | boolean | supportsTrait(String traitName) Supported traits: x, y, width, height
Parameters: traitName - the name of the trait which the element may support. | boolean | supportsTraitNS(String namespaceURI, String traitName) Supported traits: xlink:href
Parameters: namespaceURI - the trait's namespace. Parameters: traitName - the name of the trait which the element may support. | String | toStringTrait(String name, float[][] value) | public float[][] | validateFloatArrayTrait(String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) Validates the input trait value. | String | validateTraitNS(String namespaceURI, String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) Validates the input trait value. | void | willNeedImage() Implementation. |
BROKEN_URI | final protected static String BROKEN_URI(Code) | | Constant used to identify broken URI values
|
REQUIRED_TRAITS | final static String[] REQUIRED_TRAITS(Code) | | width and height are required on
|
REQUIRED_TRAITS_NS | final static String[][] REQUIRED_TRAITS_NS(Code) | | xlink:href is required on
|
absoluteURI | protected String absoluteURI(Code) | | The absolute URI is computed from the href and the
node's base URI.
|
align | protected int align(Code) | | Controls whether the image is aligned in the viewport
or if it is just scaled to the viewport.
|
href | protected String href(Code) | | The reference to the image data. This can be using
base64 PNG or JPEG encoding or an absolute or relative
URI.
|
image | protected RasterImage image(Code) | | The painted Image. The image is built from the
href attribute.
|
imageLoaded | protected boolean imageLoaded(Code) | | Controls whether the image has been loaded or
not.
|
xywidthheight | protected float xywidthheight(Code) | | The viewport defined by the image element
|
ImageNode | public ImageNode(DocumentNode ownerDocument)(Code) | | Constructor.
Parameters: ownerDocument - this element's owner DocumentNode |
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, |
computeRenderingTile | protected void computeRenderingTile(Tile tile, Transform t, GraphicsProperties gp)(Code) | | Computes the rendering tile for the given set of GraphicsProperties.
Parameters: tile - the Tile instance whose bounds should be set. Parameters: t - the Transform to the requested tile space, from this node's userspace. Parameters: gp - the GraphicsProperties for which the tileshould be computed. the screen bounding box when this node is rendered with the given render context. |
createTraitAnimImpl | TraitAnim createTraitAnimImpl(String traitName)(Code) | | Parameters: traitName - the trait name. |
createTraitAnimNSImpl | TraitAnim createTraitAnimNSImpl(String traitNamespace, String traitName)(Code) | | Parameters: traitName - the trait name. Parameters: traitNamespace - the trait's namespace. Should not be null. |
getFloatTraitImpl | float getFloatTraitImpl(String name) throws DOMException(Code) | | ImageNode handles x, y, width and height traits.
Other attributes are handled by the super class.
Parameters: name - the requested trait name. Parameters: the - requested trait's floating point value. throws: DOMException - with error code NOT_SUPPORTED_ERROR if the requestedtrait is not supported on this element or null. throws: DOMException - with error code TYPE_MISMATCH_ERR if requestedtrait's computed value cannot be converted to a float throws: SecurityException - if the application does not have the necessaryprivilege rights to access this (SVG) content. |
getHeight | public float getHeight()(Code) | | this image's height |
getHref | public String getHref()(Code) | | this node's image reference. This should be a URI |
getImage | public RasterImage getImage()(Code) | | this node's Image resource. May be nullin case no uri has been set or if loading the image data failed. |
getLocalName | public String getLocalName()(Code) | | the SVGConstants.SVG_IMAGE_TAG value |
getRequiredTraits | public String[] getRequiredTraits()(Code) | | an array of traits that are required by this element. |
getRequiredTraitsNS | public String[][] getRequiredTraitsNS()(Code) | | an array of namespaceURI, localName trait pairs required bythis element. |
getRunnableHandler | public RunnableHandler getRunnableHandler()(Code) | | the associated RunnableHandler, in case the associated RunnableQueue is not null. |
getTraitImpl | public String getTraitImpl(String name) throws DOMException(Code) | | ImageNode handles x, y, width and height traits.
Other traits are handled by the super class.
Parameters: name - the requested trait's name. the requested trait's value. throws: DOMException - with error code NOT_SUPPORTED_ERROR if the requestedtrait is not supported on this element or null. throws: DOMException - with error code TYPE_MISMATCH_ERR if requestedtrait's computed value cannot be converted to a String (SVG Tiny only). |
getTraitNSImpl | String getTraitNSImpl(String namespaceURI, String name) throws DOMException(Code) | | ImageNode handles the xlink href attribute
Parameters: namespaceURI - the requested trait's namespace URI. Parameters: name - the requested trait's local name (i.e., un-prefixed, as "href") the requested trait's string value. throws: DOMException - with error code NOT_SUPPORTED_ERROR if the requestedtrait is not supported on this element or null. throws: DOMException - with error code TYPE_MISMATCH_ERR if requestedtrait's computed value cannot be converted to a String (SVG Tinyonly). throws: SecurityException - if the application does not have the necessaryprivilege rights to access this (SVG) content. |
getUpdateQueue | public RunnableQueue getUpdateQueue()(Code) | | the associated RunnableQueue. If not null, setImage shouldbe called from within the runnable queue. |
getWidth | public float getWidth()(Code) | | this node's width |
getX | public float getX()(Code) | | this image's upper left corner position on the x-axis |
getY | public float getY()(Code) | | this image's upper left corner position on the y-axis |
hasNodeRendering | public boolean hasNodeRendering()(Code) | | An ImageNode has something to render
true |
isHitVP | protected boolean isHitVP(float[] pt)(Code) | | Returns true if this node is hit by the input point. The input point
is in viewport space.
Parameters: pt - the x/y coordinate. Should never be null and beof size two. If not, the behavior is unspecified.The x/y coordinate is in viewport space. true if the node is hit by the input point. See Also: ImageNode.nodeHitAt |
isProxyHitVP | protected boolean isProxyHitVP(float[] pt, AbstractRenderingNodeProxy proxy)(Code) | | Returns true if the proxy node is hit by the input point. The input point
is in viewport space.
Parameters: pt - the x/y coordinate. Should never be null and beof size two. If not, the behavior is unspecified.The x/y coordinate is in viewport space. Parameters: proxy - the tested ElementNodeProxy . true if the node is hit by the input point. See Also: ImageNode.nodeHitAt |
loadImage | public void loadImage()(Code) | | Implementation. Loads the image through the ownerDocument's
ImageLoader. If this image's paintNeedsLoad is true, this
will block until the image data has been retrieved. Otherwise,
a request to asynchronously load the image is placed.
|
newInstance | public ElementNode newInstance(DocumentNode doc)(Code) | | Used by DocumentNode to create a new instance from
a prototype ImageNode .
Parameters: doc - the DocumentNode for which a new node isshould be created. a new ImageNode for the requested document. |
paintRendered | void paintRendered(RenderGraphics rg, GraphicsProperties gp, PaintTarget pt, Transform tx)(Code) | | Paints this node into the input RenderGraphics.
Parameters: rg - this node is painted into this RenderGraphics Parameters: gp - the GraphicsProperties controlling the operation'srendering Parameters: pt - the PaintTarget for the paint operation. Parameters: txf - the Transform from user space to device space forthe paint operation. |
setAlign | public void setAlign(int newAlign)(Code) | | Parameters: newAlign - one of StructureNode.ALIGN_NONE or StructureNode.ALIGN_XMIDYMID |
setFloatArrayTrait | void setFloatArrayTrait(String name, float[][] value) throws DOMException(Code) | | Set the trait value as float.
Parameters: name - the trait's name. Parameters: value - the trait's value. throws: DOMException - with error code NOT_SUPPORTED_ERROR if the requestedtrait is not supported on this element. throws: DOMException - with error code TYPE_MISMATCH_ERR if the requestedtrait's value cannot be specified as a float throws: DOMException - with error code INVALID_ACCESS_ERR if the inputvalue is an invalid value for the given trait. |
setFloatTraitImpl | public void setFloatTraitImpl(String name, float value) throws DOMException(Code) | | ImageNode handles x, y, rx, ry, width and height traits.
Other traits are handled by the super class.
Parameters: name - the trait's name. Parameters: value - the new trait's floating point value. throws: DOMException - with error code NOT_SUPPORTED_ERROR if the requestedtrait is not supported on this element. throws: DOMException - with error code TYPE_MISMATCH_ERR if the requestedtrait's value cannot be specified as a float throws: DOMException - with error code INVALID_ACCESS_ERR if the inputvalue is an invalid value for the given trait. throws: SecurityException - if the application does not have the necessaryprivilege rights to access this (SVG) content. |
setHeight | public void setHeight(float newHeight)(Code) | | Parameters: newHeight - the new height for this image's nodeShould be strictly positive. |
setHref | public void setHref(String newHref)(Code) | | Parameters: newHref - the new reference for this node's image. throws: IllegalArgumentException - if the href cannot be resolvedinto an absoluteURI and paintNeedsLoad is set to true. |
setImage | public void setImage(RasterImage image, String uri)(Code) | | Sets the node's image if the computed absolute URI
is equal to the input uri.
Parameters: image - the new node image. Should not be null. Parameters: uri - the uri image corresponds to. This ispassed in case the node's uri changed between a callto the ImageLoader 's needsURI and a call to setImage . |
setParentQuiet | protected void setParentQuiet(ModelNode newParent)(Code) | | Sets this node's parent but does not generate change
events.
Parameters: newParent - the node's new parent node. |
setTraitImpl | public void setTraitImpl(String name, String value) throws DOMException(Code) | | ImageNode handles x, y, rx, ry, width and height traits.
Other traits are handled by the super class.
Parameters: name - the trait's name. Parameters: value - the new trait string value. throws: DOMException - with error code NOT_SUPPORTED_ERROR if the requestedtrait is not supported on this element or null. throws: DOMException - with error code TYPE_MISMATCH_ERR if the requestedtrait's value cannot be specified as a String throws: DOMException - with error code INVALID_ACCESS_ERR if the inputvalue is an invalid value for the given trait or null. throws: DOMException - with error code NO_MODIFICATION_ALLOWED_ERR: ifattempt is made to change readonly trait. |
setTraitNSImpl | public void setTraitNSImpl(String namespaceURI, String name, String value) throws DOMException(Code) | | ImageNode supports the xlink:href trait.
Parameters: namespaceURI - the trait's namespace. Parameters: name - the trait's local name (un-prefixed, e.g., "href"); Parameters: value - the new trait value (e.g., "http://www.sun.com/mypng.png") throws: DOMException - with error code NOT_SUPPORTED_ERROR if the requestedtrait is not supported on this element or null. throws: DOMException - with error code TYPE_MISMATCH_ERR if the requestedtrait's value cannot be specified as a String throws: DOMException - with error code INVALID_ACCESS_ERR if the inputvalue is an invalid value for the given trait or null. throws: DOMException - with error code NO_MODIFICATION_ALLOWED_ERR: ifattempt is made to change readonly trait. throws: SecurityException - if the application does not have the necessaryprivilege rights to access this (SVG) content. |
setWidth | public void setWidth(float newWidth)(Code) | | Parameters: newWidth - this node's new width. Should be strictly positive |
setX | public void setX(float newX)(Code) | | Parameters: newX - the new position of this image's upper leftcorner on the x-axis |
setY | public void setY(float newY)(Code) | | Parameters: newY - the new postion of this image's upper left corner on the y-axis |
supportsTrait | boolean supportsTrait(String traitName)(Code) | | Supported traits: x, y, width, height
Parameters: traitName - the name of the trait which the element may support. true if this element supports the given trait in one of thetrait accessor methods. |
supportsTraitNS | boolean supportsTraitNS(String namespaceURI, String traitName)(Code) | | Supported traits: xlink:href
Parameters: namespaceURI - the trait's namespace. Parameters: traitName - the name of the trait which the element may support. true if this element supports the given trait in one of thetrait accessor methods. |
toStringTrait | String toStringTrait(String name, float[][] value)(Code) | | Parameters: name - the name of the trait to convert. Parameters: value - the float trait value to convert. |
validateFloatArrayTrait | public float[][] validateFloatArrayTrait(String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code) | | Validates the input trait value.
Parameters: traitName - the name of the trait to be validated. Parameters: value - the value to be validated Parameters: reqNamespaceURI - the namespace of the element requesting validation. Parameters: reqLocalName - the local name of the element requesting validation. Parameters: reqTraitNamespace - the namespace of the trait which has the valuesvalue on the requesting element. Parameters: reqTraitName - the name of the trait which has the values value on the requesting element. throws: DOMException - with error code INVALID_ACCESS_ERR if the inputvalue is incompatible with the given trait. |
validateTraitNS | String validateTraitNS(String namespaceURI, String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code) | | Validates the input trait value.
Parameters: namespaceURI - the trait's namespace URI. Parameters: traitName - the name of the trait to be validated. Parameters: value - the value to be validated Parameters: reqNamespaceURI - the namespace of the element requesting validation. Parameters: reqLocalName - the local name of the element requesting validation. Parameters: reqTraitNamespace - the namespace of the trait which has the valuesvalue on the requesting element. Parameters: reqTraitName - the name of the trait which has the values value on the requesting element. throws: DOMException - with error code INVALID_ACCESS_ERR if the inputvalue is incompatible with the given trait. |
willNeedImage | void willNeedImage()(Code) | | Implementation. Declares to the ImageLoader that an image will be
needed.
|
Methods inherited from com.sun.perseus.model.AbstractRenderingNode | Box addBBox(Box bbox, Transform t)(Code)(Java Doc) protected Transform appendTransform(Transform tx, Transform workTx)(Code)(Java Doc) ElementNodeProxy buildProxy()(Code)(Java Doc) protected void clearLastRenderedTile()(Code)(Java Doc) protected void clearLayouts()(Code)(Java Doc) final protected void computeRenderingTile(Tile tile)(Code)(Java Doc) abstract void computeRenderingTile(Tile tile, Transform t, GraphicsProperties gp)(Code)(Java Doc) TraitAnim createTraitAnimImpl(String traitName)(Code)(Java Doc) public SVGRect getBBox()(Code)(Java Doc) protected Tile getLastRenderedTile()(Code)(Java Doc) SVGMatrix getMatrixTraitImpl(String name) throws DOMException(Code)(Java Doc) public Transform getMotion()(Code)(Java Doc) public int getNumberOfProperties()(Code)(Java Doc) protected Tile getRenderingTile()(Code)(Java Doc) public SVGRect getScreenBBox()(Code)(Java Doc) public String getTraitImpl(String name) throws DOMException(Code)(Java Doc) public Transform getTransform()(Code)(Java Doc) public boolean hasNodeRendering()(Code)(Java Doc) abstract boolean isHitVP(float[] pt)(Code)(Java Doc) abstract boolean isProxyHitVP(float[] pt, AbstractRenderingNodeProxy proxy)(Code)(Java Doc) public ModelNode nodeHitAt(float[] pt)(Code)(Java Doc) void nodeHookedInDocumentTree()(Code)(Java Doc) protected void nodeRendered()(Code)(Java Doc) void nodeUnhookedFromDocumentTree()(Code)(Java Doc) public void paint(RenderGraphics rg)(Code)(Java Doc) abstract void paintRendered(RenderGraphics rg, GraphicsProperties gp, PaintTarget pt, Transform tx)(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) ModelNode proxyNodeHitAt(float[] pt, ElementNodeProxy proxy)(Code)(Java Doc) protected void recomputeTransformState(Transform parentTransform)(Code)(Java Doc) final void renderingDirty()(Code)(Java Doc) void setComputedDisplay(boolean newDisplay)(Code)(Java Doc) void setComputedVisibility(boolean newVisibility)(Code)(Java Doc) void setFloatArrayTrait(String name, float[][] value) throws DOMException(Code)(Java Doc) void setMatrixTraitImpl(String name, Transform matrix) throws DOMException(Code)(Java Doc) public void setMotion(Transform newMotion)(Code)(Java Doc) public void setTraitImpl(String name, String value) throws DOMException(Code)(Java Doc) public void setTransform(Transform newTransform)(Code)(Java Doc) boolean supportsTrait(String traitName)(Code)(Java Doc) String toStringTrait(String name, float[][] value)(Code)(Java Doc) public float[][] validateFloatArrayTrait(String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code)(Java Doc)
|
Methods inherited from com.sun.perseus.model.CompositeGraphicsNode | void clearMarker(int marker)(Code)(Java Doc) protected boolean contributeBBox()(Code)(Java Doc) TraitAnim createTraitAnimImpl(String traitName)(Code)(Java Doc) String fillRuleToStringTrait(int fillRule)(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) float getFloatTraitImpl(String name) throws DOMException(Code)(Java Doc) 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) SVGRGBColor getRGBColorTraitImpl(String name) throws DOMException(Code)(Java Doc) public SVGRect getScreenBBox()(Code)(Java Doc) String getSpecifiedTraitImpl(String name) throws DOMException(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 String getTraitImpl(String name) throws DOMException(Code)(Java Doc) public Transform getTransformState()(Code)(Java Doc) public boolean getVisibility()(Code)(Java Doc) public boolean isColorRelative(int propertyIndex)(Code)(Java Doc) public boolean isColorRelativeProperty(int propertyIndex)(Code)(Java Doc) protected boolean isFloatPropertyState(int propertyIndex, float propertyValue)(Code)(Java Doc) final public boolean isInherited(int propertyIndex)(Code)(Java Doc) final boolean isMarkerSet(int marker)(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) 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 setColorRelative(int propertyIndex, boolean isColorRelative)(Code)(Java Doc) protected void setColorRelativeQuiet(int propertyIndex, boolean isColorRelative)(Code)(Java Doc) void setComputedColor(RGB newColor)(Code)(Java Doc) void setComputedDisplay(boolean newDisplay)(Code)(Java Doc) void setComputedFill(PaintServer newFill)(Code)(Java Doc) void setComputedFillOpacity(float newFillOpacity)(Code)(Java Doc) final void setComputedFillRule(int newFillRule)(Code)(Java Doc) void setComputedOpacity(float newOpacity)(Code)(Java Doc) void setComputedStroke(PaintServer newStroke)(Code)(Java Doc) void setComputedStrokeDashArray(float[] newStrokeDashArray)(Code)(Java Doc) void setComputedStrokeDashOffset(float newStrokeDashOffset)(Code)(Java Doc) void setComputedStrokeLineCap(int newStrokeLineCap)(Code)(Java Doc) void setComputedStrokeLineJoin(int newStrokeLineJoin)(Code)(Java Doc) void setComputedStrokeMiterLimit(float newStrokeMiterLimit)(Code)(Java Doc) void setComputedStrokeOpacity(float newStrokeOpacity)(Code)(Java Doc) void setComputedStrokeWidth(float newStrokeWidth)(Code)(Java Doc) void setComputedVisibility(boolean newVisibility)(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) public void setFillRule(int newFillRule)(Code)(Java Doc) void setFloatArrayTrait(String name, float[][] value) throws DOMException(Code)(Java Doc) public void setFloatInherited(int propertyIndex, boolean inherit)(Code)(Java Doc) protected void setFloatPropertyState(int propertyIndex, float propertyValue)(Code)(Java Doc) public void setFloatTraitImpl(String name, float value) throws DOMException(Code)(Java Doc) public void setInherited(int propertyIndex, boolean inherit)(Code)(Java Doc) protected void setInheritedQuiet(int propertyIndex, boolean inherit)(Code)(Java Doc) void setMarker(int marker)(Code)(Java Doc) public void setOpacity(float newOpacity)(Code)(Java Doc) public void setPackedInherited(int propertyIndex, boolean inherit)(Code)(Java Doc) protected void setPackedPropertyState(int propertyIndex, int propertyValue)(Code)(Java Doc) protected void setPropertyState(int propertyIndex, Object propertyValue)(Code)(Java Doc) void setRGBColorTraitImpl(String name, SVGRGBColor color) throws DOMException(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 setTraitImpl(String name, String value) throws DOMException(Code)(Java Doc) public void setVisibility(boolean newVisibility)(Code)(Java Doc) String strokeLineCapToStringTrait(int strokeLineCap)(Code)(Java Doc) String strokeLineJoinToStringTrait(int strokeLineJoin)(Code)(Java Doc) boolean supportsTrait(String traitName)(Code)(Java Doc) String toStringTrait(String name, float[][] value)(Code)(Java Doc) public float[][] validateFloatArrayTrait(String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code)(Java Doc) String validateTraitNS(String namespaceURI, String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code)(Java Doc)
|
Methods inherited from com.sun.perseus.model.ElementNode | public void add(ElementNode element)(Code)(Java Doc) protected void addProxy(ElementNodeProxy proxy)(Code)(Java Doc) protected static String alignToStringTrait(int align)(Code)(Java Doc) protected DOMException animationError(String targetId, String traitNamespace, String traitName, String targetNamespace, String targetName, String animationId, String animationNamespace, String animationLocalName, String errorDescription)(Code)(Java Doc) public void appendTextChild(String text)(Code)(Java Doc) protected ElementNodeProxy buildExpandedProxy()(Code)(Java Doc) ElementNodeProxy buildProxy()(Code)(Java Doc) final void checkNCName(String name) throws DOMException(Code)(Java Doc) protected void checkPositive(String name, float value)(Code)(Java Doc) protected void checkWriteLoading(String name) throws DOMException(Code)(Java Doc) final boolean conditionEquals(int index, String[] conditionValue)(Code)(Java Doc) TraitAnim createTraitAnimImpl(String traitName)(Code)(Java Doc) TraitAnim createTraitAnimNS(String traitNamespace, String traitName)(Code)(Java Doc) TraitAnim createTraitAnimNSImpl(String traitNamespace, String traitName)(Code)(Java Doc) public static boolean equal(Object objA, Object objB)(Code)(Java Doc) public static boolean equal(float[] faa, float[] fab)(Code)(Java Doc) public static boolean equal(String[] saa, String[] sab)(Code)(Java Doc) public static boolean equal(int[][] iaa, int[][] iab)(Code)(Java Doc) public static boolean equal(float[][] faa, float[][] fab)(Code)(Java Doc) protected String fontStylesToStringTrait(int styles)(Code)(Java Doc) protected String fontWeightsToStringTrait(int weight)(Code)(Java Doc) final public String getAttribute(String name) throws DOMException(Code)(Java Doc) final public String getAttributeNS(String namespaceURI, String name) throws DOMException(Code)(Java Doc) String[] getConditionalAttribute(int index)(Code)(Java Doc) public String[][] getDefaultTraits()(Code)(Java Doc) public ModelNode getFirstComputedExpandedChild()(Code)(Java Doc) public Element getFirstElementChild()(Code)(Java Doc) ModelNode getFirstExpandedChild()(Code)(Java Doc) final public float getFloatTrait(String name) throws DOMException(Code)(Java Doc) float getFloatTraitImpl(String name)(Code)(Java Doc) public String getId()(Code)(Java Doc) public Element getLastElementChild()(Code)(Java Doc) ModelNode getLastExpandedChild()(Code)(Java Doc) final public SVGMatrix getMatrixTrait(String name) throws DOMException(Code)(Java Doc) SVGMatrix getMatrixTraitImpl(String name) throws DOMException(Code)(Java Doc) public String getNamespaceURI()(Code)(Java Doc) public Element getNextElementSibling()(Code)(Java Doc) public boolean getPaintNeedsLoad()(Code)(Java Doc) public Node getParentNode()(Code)(Java Doc) final public SVGPath getPathTrait(String name) throws DOMException(Code)(Java Doc) SVGPath getPathTraitImpl(String name) throws DOMException(Code)(Java Doc) public Element getPreviousElementSibling()(Code)(Java Doc) final public SVGRGBColor getRGBColorTrait(String name) throws DOMException(Code)(Java Doc) SVGRGBColor getRGBColorTraitImpl(String name) throws DOMException(Code)(Java Doc) final public SVGRect getRectTrait(String name) throws DOMException(Code)(Java Doc) SVGRect getRectTraitImpl(String name) throws DOMException(Code)(Java Doc) public String[] getRequiredExtensions()(Code)(Java Doc) public String[] getRequiredFeatures()(Code)(Java Doc) public String[] getRequiredTraits()(Code)(Java Doc) public String[][] getRequiredTraitsNS()(Code)(Java Doc) TraitAnim getSafeTraitAnimNS(String traitNamespace, String traitName)(Code)(Java Doc) String getSpecifiedTraitImpl(String traitName) throws DOMException(Code)(Java Doc) String getSpecifiedTraitNSImpl(String traitNamespace, String traitName) throws DOMException(Code)(Java Doc) public String[] getSystemLanguage()(Code)(Java Doc) final public String getTrait(String traitName) throws DOMException(Code)(Java Doc) public String[][] getTraitAliases()(Code)(Java Doc) TraitAnim getTraitAnimNS(String traitNamespace, String traitName)(Code)(Java Doc) public String getTraitImpl(String name) throws DOMException(Code)(Java Doc) final public String getTraitNS(String namespaceURI, String name) throws DOMException(Code)(Java Doc) String getTraitNSImpl(String namespaceURI, String name)(Code)(Java Doc) public String getURIBase()(Code)(Java Doc) public int getXMLSpace()(Code)(Java Doc) DOMException illegalTraitValue(String name, String value)(Code)(Java Doc) protected DOMException illegalTraitValue(String name, String namespaceURI, String value)(Code)(Java Doc) public static String intern(String str)(Code)(Java Doc) protected void modifiedNode()(Code)(Java Doc) protected void modifyingNode()(Code)(Java Doc) abstract public ElementNode newInstance(DocumentNode doc)(Code)(Java Doc) void nodeHookedInDocumentTree()(Code)(Java Doc) DOMException notAnimatable(String traitNamespace, String traitName)(Code)(Java Doc) final protected Time parseClockTrait(String traitName, String value) throws DOMException(Code)(Java Doc) final protected RGB parseColorTrait(String traitName, String value) throws DOMException(Code)(Java Doc) final public float[] parseFloatArrayTrait(String traitName, String value) throws DOMException(Code)(Java Doc) final public float[] parseFloatArrayTrait(String traitName, String value, char sep) throws DOMException(Code)(Java Doc) final protected float parseFloatTrait(String name, String value) throws DOMException(Code)(Java Doc) public String[] parseFontFamilyTrait(String name, String value)(Code)(Java Doc) final public int parseFontStylesTrait(String name, String value)(Code)(Java Doc) final protected int parseFontWeightsTrait(String name, String value)(Code)(Java Doc) final protected float parseLengthTrait(String name, String value, boolean isHorizontal) throws DOMException(Code)(Java Doc) final protected Time parseMinMaxClock(String traitName, String value, boolean isMin) throws DOMException(Code)(Java Doc) final protected PaintServer parsePaintTrait(String traitName, PaintTarget paintTarget, String value) throws DOMException(Code)(Java Doc) final protected Path parsePathTrait(String name, String value) throws DOMException(Code)(Java Doc) final protected Path parsePointsTrait(String name, String value) throws DOMException(Code)(Java Doc) final protected float[] parsePositiveFloatArrayTrait(String name, String value) throws DOMException(Code)(Java Doc) final protected float parsePositiveFloatTrait(String name, String value) throws DOMException(Code)(Java Doc) final protected float parsePositiveLengthTrait(String name, String value, boolean isHorizontal) throws DOMException(Code)(Java Doc) final protected String[] parseStringArrayTrait(String name, String value, String seperators) throws DOMException(Code)(Java Doc) final protected Transform parseTransformTrait(String name, String value) throws DOMException(Code)(Java Doc) final protected int[][] parseUnicodeRangeTrait(String name, String value) throws DOMException(Code)(Java Doc) protected void preValidate()(Code)(Java Doc) ModelNode proxyNodeHitAt(float[] pt, ElementNodeProxy proxy)(Code)(Java Doc) protected DOMException readOnlyTraitError(String name)(Code)(Java Doc) protected void recomputeProxyTransformState()(Code)(Java Doc) void removeProxy(ElementNodeProxy proxy)(Code)(Java Doc) final public void setAttribute(String name, String value) throws DOMException(Code)(Java Doc) final public void setAttributeNS(String namespaceURI, String name, String value) throws DOMException(Code)(Java Doc) void setConditionalAttribute(int index, String[] newValue)(Code)(Java Doc) void setFloatArrayTrait(String name, float[][] value) throws DOMException(Code)(Java Doc) final public void setFloatTrait(String name, float value) throws DOMException(Code)(Java Doc) void setFloatTraitImpl(String name, float value)(Code)(Java Doc) public void setId(String newId)(Code)(Java Doc) final public void setMatrixTrait(String name, SVGMatrix matrix) throws DOMException(Code)(Java Doc) void setMatrixTraitImpl(String name, Transform matrix) throws DOMException(Code)(Java Doc) final public void setPathTrait(String name, SVGPath path) throws DOMException(Code)(Java Doc) void setPathTraitImpl(String name, SVGPath path) throws DOMException(Code)(Java Doc) public void setPreferedPaintNeedsLoad(boolean paintNeedsLoad)(Code)(Java Doc) final public void setRGBColorTrait(String name, SVGRGBColor color) throws DOMException(Code)(Java Doc) void setRGBColorTraitImpl(String name, SVGRGBColor color) throws DOMException(Code)(Java Doc) final public void setRectTrait(String name, SVGRect rect) throws DOMException(Code)(Java Doc) public void setRectTraitImpl(String name, SVGRect rect) throws DOMException(Code)(Java Doc) public void setRequiredExtensions(String[] newRequiredExtensions)(Code)(Java Doc) public void setRequiredFeatures(String[] newRequiredFeatures)(Code)(Java Doc) public void setSystemLanguage(String[] newSystemLanguage)(Code)(Java Doc) final public void setTrait(String name, String value) throws DOMException(Code)(Java Doc) public void setTraitImpl(String name, String value) throws DOMException(Code)(Java Doc) final public void setTraitNS(String namespaceURI, String name, String value) throws DOMException(Code)(Java Doc) public void setTraitNSImpl(String namespaceURI, String name, String value) throws DOMException(Code)(Java Doc) public void setURIBase(String newUriBase)(Code)(Java Doc) public void setXMLSpace(int newXmlSpace)(Code)(Java Doc) boolean supportsTrait(String traitName)(Code)(Java Doc) boolean supportsTraitNS(String namespaceURI, String traitName)(Code)(Java Doc) float[][] toAnimatedFloatArray(float v)(Code)(Java Doc) float[][] toAnimatedFloatArray(float[] a)(Code)(Java Doc) float[][] toAnimatedFloatArray(Path path)(Code)(Java Doc) protected RGB toRGB(String name, float[][] v) throws DOMException(Code)(Java Doc) protected String toRGBString(String name, float[][] v) throws DOMException(Code)(Java Doc) protected SVGMatrix toSVGMatrixTrait(Transform transform)(Code)(Java Doc) protected SVGRGBColor toSVGRGBColor(String traitName, PaintServer paint)(Code)(Java Doc) protected SVGRect toSVGRect(float[][] viewBox)(Code)(Java Doc) String toString(PaintServer paintServer)(Code)(Java Doc) public String toString()(Code)(Java Doc) String toStringTrait(String traitName, float[][] value)(Code)(Java Doc) protected String toStringTrait(String[] array)(Code)(Java Doc) protected String toStringTrait(String[] array, String sep)(Code)(Java Doc) protected String toStringTrait(float[] array)(Code)(Java Doc) protected String toStringTrait(float[] array, char sep)(Code)(Java Doc) protected String toStringTrait(float[][] array)(Code)(Java Doc) protected static String toStringTrait(Transform transform)(Code)(Java Doc) protected String toStringTraitQuote(String[] array)(Code)(Java Doc) float[] toTraitFloatArray(float[][] value)(Code)(Java Doc) protected float[][] toViewBox(String name, String value) throws DOMException(Code)(Java Doc) protected void unhookChildrenQuiet()(Code)(Java Doc) protected void unhookExpandedQuiet()(Code)(Java Doc) protected String unicodeRangeToStringTrait(int[][] u)(Code)(Java Doc) protected DOMException unsupportedTrait(String name)(Code)(Java Doc) protected DOMException unsupportedTraitNS(String name, String namespaceURI)(Code)(Java Doc) protected DOMException unsupportedTraitType(String name, String type)(Code)(Java Doc) protected DOMException unsupportedTraitTypeNS(String name, String namespaceURI, String type)(Code)(Java Doc) float[][] validateFloatArrayTrait(String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code)(Java Doc) String validateTraitNS(String namespaceURI, String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(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)
|
|
|