com.steadystate.css.dom

Class RGBColorImpl

Implemented Interfaces:
RGBColor, Serializable
Known Direct Subclasses:
RGBColorImpl

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

Constructor Summary

RGBColorImpl()
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)
String
toString()

Constructor Details

RGBColorImpl

protected RGBColorImpl()

RGBColorImpl

protected RGBColorImpl(LexicalUnit lu)

Method Details

getBlue

public CSSPrimitiveValue getBlue()
This attribute is used for the blue value of the RGB color.
Specified by:
getBlue in interface RGBColor

getGreen

public CSSPrimitiveValue getGreen()
This attribute is used for the green value of the RGB color.
Specified by:
getGreen in interface RGBColor

getRed

public CSSPrimitiveValue getRed()
This attribute is used for the red value of the RGB color.
Specified by:
getRed in interface RGBColor

setBlue

public void setBlue(CSSPrimitiveValue blue)

setGreen

public void setGreen(CSSPrimitiveValue green)

setRed

public void setRed(CSSPrimitiveValue red)

toString

public String toString()