com.steadystate.css.dom
Class RGBColorImpl
java.lang.Object
com.steadystate.css.dom.RGBColorImpl
- All Implemented Interfaces:
- Serializable, org.w3c.dom.css.RGBColor
public class RGBColorImpl
- extends Object
- implements org.w3c.dom.css.RGBColor, Serializable
Implementation of RGBColor
.
- Version:
- $Id: RGBColorImpl.java,v 1.2 2008/03/26 02:17:24 sdanig Exp $
- Author:
- David Schweinsberg
- See Also:
- Serialized Form
RGBColorImpl
protected RGBColorImpl(LexicalUnit lu)
throws DOMException
- Throws:
DOMException
RGBColorImpl
public RGBColorImpl()
getRed
public org.w3c.dom.css.CSSPrimitiveValue getRed()
- Specified by:
getRed
in interface org.w3c.dom.css.RGBColor
setRed
public void setRed(org.w3c.dom.css.CSSPrimitiveValue red)
getGreen
public org.w3c.dom.css.CSSPrimitiveValue getGreen()
- Specified by:
getGreen
in interface org.w3c.dom.css.RGBColor
setGreen
public void setGreen(org.w3c.dom.css.CSSPrimitiveValue green)
getBlue
public org.w3c.dom.css.CSSPrimitiveValue getBlue()
- Specified by:
getBlue
in interface org.w3c.dom.css.RGBColor
setBlue
public void setBlue(org.w3c.dom.css.CSSPrimitiveValue blue)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009. All Rights Reserved.