org.apache.batik.css.svg
Class SVGCSSReadOnlyValue

java.lang.Object
  |
  +--org.apache.batik.css.CSSOMReadOnlyValue
        |
        +--org.apache.batik.css.svg.SVGCSSReadOnlyValue
All Implemented Interfaces:
CSSPrimitiveValue, CSSValue, CSSValueList, SVGColor, SVGPaint

public class SVGCSSReadOnlyValue
extends CSSOMReadOnlyValue
implements SVGPaint

This class represents a read-only SVG CSS value.


Fields inherited from class org.apache.batik.css.CSSOMReadOnlyValue
value
 
Fields 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
 
Fields inherited from interface org.w3c.dom.svg.SVGColor
SVG_COLORTYPE_CURRENTCOLOR, SVG_COLORTYPE_RGBCOLOR, SVG_COLORTYPE_RGBCOLOR_ICCCOLOR, SVG_COLORTYPE_UNKNOWN
 
Fields inherited from interface org.w3c.dom.css.CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
 
Fields inherited from interface org.w3c.dom.css.CSSPrimitiveValue
CSS_ATTR, CSS_CM, CSS_COUNTER, CSS_DEG, CSS_DIMENSION, CSS_EMS, CSS_EXS, CSS_GRAD, CSS_HZ, CSS_IDENT, CSS_IN, CSS_KHZ, CSS_MM, CSS_MS, CSS_NUMBER, CSS_PC, CSS_PERCENTAGE, CSS_PT, CSS_PX, CSS_RAD, CSS_RECT, CSS_RGBCOLOR, CSS_S, CSS_STRING, CSS_UNKNOWN, CSS_URI
 
Constructor Summary
SVGCSSReadOnlyValue(ImmutableValue v)
          Creates a new SVG CSS value.
 
Method Summary
 short getColorType()
          DOM: Implements SVGColor.getColorType().
 SVGICCColor getICCColor()
          DOM: Implements SVGColor.getICCColor().
 short getPaintType()
          DOM: Implements SVGPaint.getPaintType().
 RGBColor getRGBColor()
          DOM: Implements SVGColor.getRGBColor().
 java.lang.String getUri()
          DOM: Implements SVGPaint.getUri().
 void setColor(short colorType, java.lang.String rgbColor, java.lang.String iccColor)
          DOM: Implements SVGColor.setColor(short,String,String).
 void setPaint(short paintType, java.lang.String uri, java.lang.String rgbColor, java.lang.String iccColor)
          DOM: Implements SVGPaint.setPaint(short,String,String,String).
 void setRGBColor(java.lang.String rgbColor)
          DOM: Implements SVGColor.setRGBColor(String).
 void setRGBColorICCColor(java.lang.String rgbColor, java.lang.String iccColor)
          DOM: Implements SVGColor.setRGBColorICCColor(String,String).
 void setUri(java.lang.String uri)
          DOM: Implements SVGPaint.setUri(String).
 
Methods inherited from class org.apache.batik.css.CSSOMReadOnlyValue
equals, getCounterValue, getCssText, getCssValueType, getFloatValue, getImmutableValue, getLength, getPrimitiveType, getRectValue, getRGBColorValue, getStringValue, item, setCssText, setFloatValue, setImmutableValue, setStringValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.css.CSSValue
getCssText, getCssValueType, setCssText
 

Constructor Detail

SVGCSSReadOnlyValue

public SVGCSSReadOnlyValue(ImmutableValue v)
Creates a new SVG CSS value.
Method Detail

getPaintType

public short getPaintType()
DOM: Implements SVGPaint.getPaintType().
Specified by:
getPaintType in interface SVGPaint

getUri

public java.lang.String getUri()
DOM: Implements SVGPaint.getUri().
Specified by:
getUri in interface SVGPaint

setUri

public void setUri(java.lang.String uri)
DOM: Implements SVGPaint.setUri(String).
Specified by:
setUri in interface SVGPaint

setPaint

public void setPaint(short paintType,
                     java.lang.String uri,
                     java.lang.String rgbColor,
                     java.lang.String iccColor)
              throws SVGException
DOM: Implements SVGPaint.setPaint(short,String,String,String).
Specified by:
setPaint in interface SVGPaint

getColorType

public short getColorType()
DOM: Implements SVGColor.getColorType().
Specified by:
getColorType in interface SVGColor

getRGBColor

public RGBColor getRGBColor()
DOM: Implements SVGColor.getRGBColor().
Specified by:
getRGBColor in interface SVGColor

getICCColor

public SVGICCColor getICCColor()
DOM: Implements SVGColor.getICCColor().
Specified by:
getICCColor in interface SVGColor

setRGBColor

public void setRGBColor(java.lang.String rgbColor)
                 throws SVGException
DOM: Implements SVGColor.setRGBColor(String).
Specified by:
setRGBColor in interface SVGColor

setRGBColorICCColor

public void setRGBColorICCColor(java.lang.String rgbColor,
                                java.lang.String iccColor)
                         throws SVGException
DOM: Implements SVGColor.setRGBColorICCColor(String,String).
Specified by:
setRGBColorICCColor in interface SVGColor

setColor

public void setColor(short colorType,
                     java.lang.String rgbColor,
                     java.lang.String iccColor)
              throws SVGException
DOM: Implements SVGColor.setColor(short,String,String).
Specified by:
setColor in interface SVGColor


Copyright © 2001 Apache Software Foundation. All Rights Reserved.