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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RGBColorImpl
protected RGBColorImpl(LexicalUnit lu)
RGBColorImpl
protected RGBColorImpl()
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