Class CSSOMSVGPaint
java.lang.Object
org.apache.batik.css.dom.CSSOMSVGColor
org.apache.batik.css.dom.CSSOMSVGPaint
- All Implemented Interfaces:
CSSValue, RGBColor, org.w3c.dom.svg.SVGColor, org.w3c.dom.svg.SVGICCColor, org.w3c.dom.svg.SVGNumberList, org.w3c.dom.svg.SVGPaint
- Direct Known Subclasses:
CSSOMSVGComputedStyle.ComputedCSSPaintValue, CSSOMSVGStyleDeclaration.StyleDeclarationPaintValue, SVGStylableElement.PresentationAttributePaintValue
This class implements the
SVGPaint interface.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassProvides an abstract implementation of a PaintModificationHandler.static interfaceTo manage the modifications on a SVGPaint value.Nested classes/interfaces inherited from class CSSOMSVGColor
CSSOMSVGColor.AbstractComponent, CSSOMSVGColor.BlueComponent, CSSOMSVGColor.ColorNumber, CSSOMSVGColor.FloatComponent, CSSOMSVGColor.GreenComponent, CSSOMSVGColor.ModificationHandler, CSSOMSVGColor.RedComponent, CSSOMSVGColor.ValueProvider -
Field Summary
Fields inherited from class CSSOMSVGColor
blueComponent, greenComponent, handler, iccColors, redComponent, valueProviderFields inherited from interface CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LISTFields inherited from interface org.w3c.dom.svg.SVGColor
SVG_COLORTYPE_CURRENTCOLOR, SVG_COLORTYPE_RGBCOLOR, SVG_COLORTYPE_RGBCOLOR_ICCCOLOR, SVG_COLORTYPE_UNKNOWNFields inherited from interface org.w3c.dom.svg.SVGPaint
SVG_PAINTTYPE_CURRENTCOLOR, SVG_PAINTTYPE_NONE, SVG_PAINTTYPE_RGBCOLOR, SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR, SVG_PAINTTYPE_UNKNOWN, SVG_PAINTTYPE_URI, SVG_PAINTTYPE_URI_CURRENTCOLOR, SVG_PAINTTYPE_URI_NONE, SVG_PAINTTYPE_URI_RGBCOLOR, SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshortDOM: ImplementsSVGColor.getColorType().shortDOM: ImplementsSVGPaint.getPaintType().getUri()DOM: ImplementsSVGPaint.getUri().voidSets the modification handler of this value.voidDOM: ImplementsSVGPaint.setPaint(short,String,String,String).voidDOM: ImplementsSVGPaint.setUri(String).Methods inherited from class CSSOMSVGColor
appendItem, clear, getBlue, getColorProfile, getColors, getCssText, getCssValueType, getGreen, getIccColor, getICCColor, getItem, getNumberOfItems, getRed, getRgbColor, getRGBColor, initialize, insertItemBefore, removeItem, replaceItem, setColor, setColorProfile, setCssText, setRGBColor, setRGBColorICCColorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CSSValue
getCssText, getCssValueType, setCssTextMethods inherited from interface org.w3c.dom.svg.SVGColor
getICCColor, getRGBColor, setColor, setRGBColor, setRGBColorICCColor
-
Constructor Details
-
CSSOMSVGPaint
Creates a new CSSOMSVGPaint.
-
-
Method Details
-
setModificationHandler
Sets the modification handler of this value.- Overrides:
setModificationHandlerin classCSSOMSVGColor
-
getColorType
public short getColorType()DOM: ImplementsSVGColor.getColorType().- Specified by:
getColorTypein interfaceorg.w3c.dom.svg.SVGColor- Overrides:
getColorTypein classCSSOMSVGColor
-
getPaintType
public short getPaintType()DOM: ImplementsSVGPaint.getPaintType().- Specified by:
getPaintTypein interfaceorg.w3c.dom.svg.SVGPaint
-
getUri
DOM: ImplementsSVGPaint.getUri().- Specified by:
getUriin interfaceorg.w3c.dom.svg.SVGPaint
-
setUri
DOM: ImplementsSVGPaint.setUri(String).- Specified by:
setUriin interfaceorg.w3c.dom.svg.SVGPaint
-
setPaint
-