|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.steadystate.css.dom.RGBColorImpl
public class RGBColorImpl
Implementation of RGBColor.
| Constructor Summary | |
|---|---|
RGBColorImpl()
Constructor. |
|
RGBColorImpl(org.w3c.css.sac.LexicalUnit lu)
Constructor that reads the values from the given chain of LexicalUnits. |
|
| Method Summary | |
|---|---|
org.w3c.dom.css.CSSPrimitiveValue |
getBlue()
Returns the blue part. |
org.w3c.dom.css.CSSPrimitiveValue |
getGreen()
Returns the green part. |
org.w3c.dom.css.CSSPrimitiveValue |
getRed()
Returns the red part. |
void |
setBlue(org.w3c.dom.css.CSSPrimitiveValue blue)
Sets the blue part to a new value. |
void |
setGreen(org.w3c.dom.css.CSSPrimitiveValue green)
Sets the green part to a new value. |
void |
setRed(org.w3c.dom.css.CSSPrimitiveValue red)
Sets the red part to a new value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RGBColorImpl(org.w3c.css.sac.LexicalUnit lu)
throws DOMException
lu - the values
DOMException - in case of errorpublic RGBColorImpl()
| Method Detail |
|---|
public org.w3c.dom.css.CSSPrimitiveValue getRed()
getRed in interface org.w3c.dom.css.RGBColorpublic void setRed(org.w3c.dom.css.CSSPrimitiveValue red)
red - the new CSSPrimitiveValuepublic org.w3c.dom.css.CSSPrimitiveValue getGreen()
getGreen in interface org.w3c.dom.css.RGBColorpublic void setGreen(org.w3c.dom.css.CSSPrimitiveValue green)
green - the new CSSPrimitiveValuepublic org.w3c.dom.css.CSSPrimitiveValue getBlue()
getBlue in interface org.w3c.dom.css.RGBColorpublic void setBlue(org.w3c.dom.css.CSSPrimitiveValue blue)
blue - the new CSSPrimitiveValuepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||