Class RGBColorImpl

  • All Implemented Interfaces:
    java.io.Serializable, org.w3c.dom.css.RGBColor

    public class RGBColorImpl
    extends java.lang.Object
    implements org.w3c.dom.css.RGBColor, java.io.Serializable
    Implementation of RGBColor.
    Version:
    $Id: RGBColorImpl.java,v 1.2 2008/03/26 02:17:24 sdanig Exp $
    Author:
    David Schweinsberg
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        RGBColorImpl()  
      protected RGBColorImpl​(org.w3c.css.sac.LexicalUnit lu)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.w3c.dom.css.CSSPrimitiveValue getBlue()  
      org.w3c.dom.css.CSSPrimitiveValue getGreen()  
      org.w3c.dom.css.CSSPrimitiveValue getRed()  
      void setBlue​(org.w3c.dom.css.CSSPrimitiveValue blue)  
      void setGreen​(org.w3c.dom.css.CSSPrimitiveValue green)  
      void setRed​(org.w3c.dom.css.CSSPrimitiveValue red)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RGBColorImpl

        protected RGBColorImpl​(org.w3c.css.sac.LexicalUnit lu)
                        throws org.w3c.dom.DOMException
        Throws:
        org.w3c.dom.DOMException
      • RGBColorImpl

        public RGBColorImpl()
    • Method Detail

      • getRed

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

        public void setRed​(org.w3c.dom.css.CSSPrimitiveValue red)
      • getGreen

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

        public void setGreen​(org.w3c.dom.css.CSSPrimitiveValue green)
      • getBlue

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

        public void setBlue​(org.w3c.dom.css.CSSPrimitiveValue blue)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object