| java.lang.Object com.sun.perseus.model.ModelNode com.sun.perseus.model.CompositeNode com.sun.perseus.model.ElementNode com.sun.perseus.model.PaintElement
All known Subclasses: com.sun.perseus.model.SolidColor, com.sun.perseus.model.GradientElement,
PaintElement | abstract public class PaintElement extends ElementNode (Code) | | Abstract base class for all elements which are paint server implementations.
version: $Id: PaintElement.java,v 1.7 2006/06/29 10:47:33 ln156897 Exp $ |
Field Summary | |
boolean | isObjectBBox Defines whether the paint is in objectBoundingBox
space or in userSpaceOnUse space. | Vector | references An array holding all current references (References instances) to this
PaintElement. |
isObjectBBox | boolean isObjectBBox(Code) | | Defines whether the paint is in objectBoundingBox
space or in userSpaceOnUse space.
|
references | Vector references(Code) | | An array holding all current references (References instances) to this
PaintElement.
|
computePaint | abstract protected PaintDef computePaint()(Code) | | Computes the paint in user space on use.
the computed PaintDef. |
getPaintServer | public PaintServer getPaintServer(String paintType, PaintTarget paintTarget)(Code) | | Parameters: paintType - the type of paint for which a PaintServer should be computed. (e.g., "fill" or "stroke"); Parameters: paintTarget - the PaintTarget for which the PaintServer should becomputed. the PaintDef generated by the server. |
notifyPaintChange | protected void notifyPaintChange()(Code) | | Notifies all references that the Paint definitions has been modified.
|
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)
|
|
|