Package com.steadystate.css.dom
Class RGBColorImpl
- java.lang.Object
-
- 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
Constructors Modifier Constructor Description protectedRGBColorImpl()protectedRGBColorImpl(LexicalUnit lu)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CSSPrimitiveValuegetBlue()This attribute is used for the blue value of the RGB color.CSSPrimitiveValuegetGreen()This attribute is used for the green value of the RGB color.CSSPrimitiveValuegetRed()This attribute is used for the red value of the RGB color.voidsetBlue(CSSPrimitiveValue blue)voidsetGreen(CSSPrimitiveValue green)voidsetRed(CSSPrimitiveValue red)java.lang.StringtoString()
-
-
-
Constructor Detail
-
RGBColorImpl
protected RGBColorImpl(LexicalUnit lu)
-
RGBColorImpl
protected RGBColorImpl()
-
-
Method Detail
-
getRed
public CSSPrimitiveValue getRed()
Description copied from interface:RGBColorThis attribute is used for the red value of the RGB color.
-
setRed
public void setRed(CSSPrimitiveValue red)
-
getGreen
public CSSPrimitiveValue getGreen()
Description copied from interface:RGBColorThis attribute is used for the green value of the RGB color.
-
setGreen
public void setGreen(CSSPrimitiveValue green)
-
getBlue
public CSSPrimitiveValue getBlue()
Description copied from interface:RGBColorThis attribute is used for the blue value of the RGB color.
-
setBlue
public void setBlue(CSSPrimitiveValue blue)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-