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 protected
RGBColorImpl()
protected
RGBColorImpl(LexicalUnit lu)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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.
-
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.
-
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.
-
setBlue
public void setBlue(CSSPrimitiveValue blue)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-