Class CSSOMSVGColor

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.w3c.dom.svg.SVGNumber appendItem​(org.w3c.dom.svg.SVGNumber newItem)
      DOM: Implements SVGNumberList.appendItem(SVGNumber).
      void clear()
      DOM: Implements SVGNumberList.clear().
      org.w3c.dom.css.CSSPrimitiveValue getBlue()
      DOM: Implements RGBColor.getBlue().
      java.lang.String getColorProfile()
      DOM: Implements SVGICCColor.getColorProfile().
      org.w3c.dom.svg.SVGNumberList getColors()
      DOM: Implements SVGICCColor.getColors().
      short getColorType()
      DOM: Implements SVGColor.getColorType().
      java.lang.String getCssText()
      DOM: Implements CSSValue.getCssText().
      short getCssValueType()
      DOM: Implements CSSValue.getCssValueType().
      org.w3c.dom.css.CSSPrimitiveValue getGreen()
      DOM: Implements RGBColor.getGreen().
      org.w3c.dom.svg.SVGICCColor getIccColor()
      Returns the SVGICCColor value of this SVGColor.
      org.w3c.dom.svg.SVGICCColor getICCColor()
      DOM: Implements SVGColor.getICCColor().
      org.w3c.dom.svg.SVGNumber getItem​(int index)
      DOM: Implements SVGNumberList.getItem(int).
      int getNumberOfItems()
      DOM: Implements SVGNumberList.getNumberOfItems().
      org.w3c.dom.css.CSSPrimitiveValue getRed()
      DOM: Implements RGBColor.getRed().
      org.w3c.dom.css.RGBColor getRgbColor()
      Returns the RGBColor value for this SVGColor.
      org.w3c.dom.css.RGBColor getRGBColor()
      DOM: Implements SVGColor.getRGBColor().
      org.w3c.dom.svg.SVGNumber initialize​(org.w3c.dom.svg.SVGNumber newItem)
      DOM: Implements SVGNumberList.initialize(SVGNumber).
      org.w3c.dom.svg.SVGNumber insertItemBefore​(org.w3c.dom.svg.SVGNumber newItem, int index)
      DOM: Implements SVGNumberList.insertItemBefore(SVGNumber,int).
      org.w3c.dom.svg.SVGNumber removeItem​(int index)
      DOM: Implements SVGNumberList.removeItem(int).
      org.w3c.dom.svg.SVGNumber replaceItem​(org.w3c.dom.svg.SVGNumber newItem, int index)
      DOM: Implements SVGNumberList.replaceItem(SVGNumber,int).
      void setColor​(short type, java.lang.String rgb, java.lang.String icc)
      DOM: Implements SVGColor.setColor(short,String,String).
      void setColorProfile​(java.lang.String colorProfile)
      DOM: Implements SVGICCColor.setColorProfile(String).
      void setCssText​(java.lang.String cssText)
      DOM: Implements CSSValue.setCssText(String).
      void setModificationHandler​(CSSOMSVGColor.ModificationHandler h)
      Sets the modification handler of this value.
      void setRGBColor​(java.lang.String color)
      DOM: Implements SVGColor.setRGBColor(String).
      void setRGBColorICCColor​(java.lang.String rgb, java.lang.String icc)
      DOM: Implements SVGColor.setRGBColorICCColor(String,String).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCssText

        public java.lang.String getCssText()
        DOM: Implements CSSValue.getCssText().
        Specified by:
        getCssText in interface org.w3c.dom.css.CSSValue
      • setCssText

        public void setCssText​(java.lang.String cssText)
                        throws org.w3c.dom.DOMException
        DOM: Implements CSSValue.setCssText(String).
        Specified by:
        setCssText in interface org.w3c.dom.css.CSSValue
        Throws:
        org.w3c.dom.DOMException
      • getCssValueType

        public short getCssValueType()
        DOM: Implements CSSValue.getCssValueType().
        Specified by:
        getCssValueType in interface org.w3c.dom.css.CSSValue
      • getColorType

        public short getColorType()
        DOM: Implements SVGColor.getColorType().
        Specified by:
        getColorType in interface org.w3c.dom.svg.SVGColor
      • getRGBColor

        public org.w3c.dom.css.RGBColor getRGBColor()
        DOM: Implements SVGColor.getRGBColor().
        Specified by:
        getRGBColor in interface org.w3c.dom.svg.SVGColor
      • getRgbColor

        public org.w3c.dom.css.RGBColor getRgbColor()
        Returns the RGBColor value for this SVGColor. For the SVG 1.1 ECMAScript binding.
      • setRGBColor

        public void setRGBColor​(java.lang.String color)
        DOM: Implements SVGColor.setRGBColor(String).
        Specified by:
        setRGBColor in interface org.w3c.dom.svg.SVGColor
      • getICCColor

        public org.w3c.dom.svg.SVGICCColor getICCColor()
        DOM: Implements SVGColor.getICCColor().
        Specified by:
        getICCColor in interface org.w3c.dom.svg.SVGColor
      • getIccColor

        public org.w3c.dom.svg.SVGICCColor getIccColor()
        Returns the SVGICCColor value of this SVGColor. For the SVG 1.1 ECMAScript binding.
      • setRGBColorICCColor

        public void setRGBColorICCColor​(java.lang.String rgb,
                                        java.lang.String icc)
        DOM: Implements SVGColor.setRGBColorICCColor(String,String).
        Specified by:
        setRGBColorICCColor in interface org.w3c.dom.svg.SVGColor
      • setColor

        public void setColor​(short type,
                             java.lang.String rgb,
                             java.lang.String icc)
        DOM: Implements SVGColor.setColor(short,String,String).
        Specified by:
        setColor in interface org.w3c.dom.svg.SVGColor
      • getRed

        public org.w3c.dom.css.CSSPrimitiveValue getRed()
        DOM: Implements RGBColor.getRed().
        Specified by:
        getRed in interface org.w3c.dom.css.RGBColor
      • getGreen

        public org.w3c.dom.css.CSSPrimitiveValue getGreen()
        DOM: Implements RGBColor.getGreen().
        Specified by:
        getGreen in interface org.w3c.dom.css.RGBColor
      • getBlue

        public org.w3c.dom.css.CSSPrimitiveValue getBlue()
        DOM: Implements RGBColor.getBlue().
        Specified by:
        getBlue in interface org.w3c.dom.css.RGBColor
      • getColorProfile

        public java.lang.String getColorProfile()
        DOM: Implements SVGICCColor.getColorProfile().
        Specified by:
        getColorProfile in interface org.w3c.dom.svg.SVGICCColor
      • setColorProfile

        public void setColorProfile​(java.lang.String colorProfile)
                             throws org.w3c.dom.DOMException
        DOM: Implements SVGICCColor.setColorProfile(String).
        Specified by:
        setColorProfile in interface org.w3c.dom.svg.SVGICCColor
        Throws:
        org.w3c.dom.DOMException
      • getColors

        public org.w3c.dom.svg.SVGNumberList getColors()
        DOM: Implements SVGICCColor.getColors().
        Specified by:
        getColors in interface org.w3c.dom.svg.SVGICCColor
      • getNumberOfItems

        public int getNumberOfItems()
        DOM: Implements SVGNumberList.getNumberOfItems().
        Specified by:
        getNumberOfItems in interface org.w3c.dom.svg.SVGNumberList
      • clear

        public void clear()
                   throws org.w3c.dom.DOMException
        DOM: Implements SVGNumberList.clear().
        Specified by:
        clear in interface org.w3c.dom.svg.SVGNumberList
        Throws:
        org.w3c.dom.DOMException
      • initialize

        public org.w3c.dom.svg.SVGNumber initialize​(org.w3c.dom.svg.SVGNumber newItem)
                                             throws org.w3c.dom.DOMException
        DOM: Implements SVGNumberList.initialize(SVGNumber).
        Specified by:
        initialize in interface org.w3c.dom.svg.SVGNumberList
        Throws:
        org.w3c.dom.DOMException
      • getItem

        public org.w3c.dom.svg.SVGNumber getItem​(int index)
                                          throws org.w3c.dom.DOMException
        DOM: Implements SVGNumberList.getItem(int).
        Specified by:
        getItem in interface org.w3c.dom.svg.SVGNumberList
        Throws:
        org.w3c.dom.DOMException
      • insertItemBefore

        public org.w3c.dom.svg.SVGNumber insertItemBefore​(org.w3c.dom.svg.SVGNumber newItem,
                                                          int index)
                                                   throws org.w3c.dom.DOMException
        DOM: Implements SVGNumberList.insertItemBefore(SVGNumber,int).
        Specified by:
        insertItemBefore in interface org.w3c.dom.svg.SVGNumberList
        Throws:
        org.w3c.dom.DOMException
      • replaceItem

        public org.w3c.dom.svg.SVGNumber replaceItem​(org.w3c.dom.svg.SVGNumber newItem,
                                                     int index)
                                              throws org.w3c.dom.DOMException
        DOM: Implements SVGNumberList.replaceItem(SVGNumber,int).
        Specified by:
        replaceItem in interface org.w3c.dom.svg.SVGNumberList
        Throws:
        org.w3c.dom.DOMException
      • removeItem

        public org.w3c.dom.svg.SVGNumber removeItem​(int index)
                                             throws org.w3c.dom.DOMException
        DOM: Implements SVGNumberList.removeItem(int).
        Specified by:
        removeItem in interface org.w3c.dom.svg.SVGNumberList
        Throws:
        org.w3c.dom.DOMException
      • appendItem

        public org.w3c.dom.svg.SVGNumber appendItem​(org.w3c.dom.svg.SVGNumber newItem)
                                             throws org.w3c.dom.DOMException
        DOM: Implements SVGNumberList.appendItem(SVGNumber).
        Specified by:
        appendItem in interface org.w3c.dom.svg.SVGNumberList
        Throws:
        org.w3c.dom.DOMException