com.steadystate.css.dom
Class RGBColorImpl

java.lang.Object
  extended by com.steadystate.css.dom.RGBColorImpl
All Implemented Interfaces:
java.io.Serializable, RGBColor
Direct Known Subclasses:
RGBColorImpl

public class RGBColorImpl
extends java.lang.Object
implements RGBColor, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
protected RGBColorImpl()
           
protected RGBColorImpl(LexicalUnit lu)
           
 
Method Summary
 CSSPrimitiveValue getBlue()
          This attribute is used for the blue value of the RGB color.
 CSSPrimitiveValue getGreen()
          This attribute is used for the green value of the RGB color.
 CSSPrimitiveValue getRed()
          This attribute is used for the red value of the RGB color.
 void setBlue(CSSPrimitiveValue blue)
           
 void setGreen(CSSPrimitiveValue green)
           
 void setRed(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(LexicalUnit lu)

RGBColorImpl

protected RGBColorImpl()
Method Detail

getRed

public CSSPrimitiveValue getRed()
Description copied from interface: RGBColor
This attribute is used for the red value of the RGB color.

Specified by:
getRed in interface RGBColor

setRed

public void setRed(CSSPrimitiveValue red)

getGreen

public CSSPrimitiveValue getGreen()
Description copied from interface: RGBColor
This attribute is used for the green value of the RGB color.

Specified by:
getGreen in interface RGBColor

setGreen

public void setGreen(CSSPrimitiveValue green)

getBlue

public CSSPrimitiveValue getBlue()
Description copied from interface: RGBColor
This attribute is used for the blue value of the RGB color.

Specified by:
getBlue in interface RGBColor

setBlue

public void setBlue(CSSPrimitiveValue blue)

toString

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