com.steadystate.css.dom
public class RGBColorImpl extends java.lang.Object implements RGBColor, java.io.Serializable
Modifier | Constructor and Description |
---|---|
protected |
RGBColorImpl() |
protected |
RGBColorImpl(LexicalUnit lu) |
Modifier and Type | Method and 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() |
protected RGBColorImpl(LexicalUnit lu)
protected RGBColorImpl()
public CSSPrimitiveValue getRed()
RGBColor
public void setRed(CSSPrimitiveValue red)
public CSSPrimitiveValue getGreen()
RGBColor
public void setGreen(CSSPrimitiveValue green)
public CSSPrimitiveValue getBlue()
RGBColor
public void setBlue(CSSPrimitiveValue blue)
public java.lang.String toString()
toString
in class java.lang.Object