|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.apache.batik.css.engine.value.AbstractValue
org.apache.batik.css.engine.value.RGBColorValue
This class represents RGB colors.
| Field Summary | |
|---|---|
protected Value |
blue
The blue component. |
protected Value |
green
The green component. |
protected Value |
red
The red component. |
| Constructor Summary | |
|---|---|
RGBColorValue(Value r,
Value g,
Value b)
Creates a new RGBColorValue. |
|
| Method Summary | |
|---|---|
Value |
getBlue()
Implements Value.getBlue(). |
java.lang.String |
getCssText()
A string representation of the current value. |
Value |
getGreen()
Implements Value.getGreen(). |
short |
getPrimitiveType()
The type of the value. |
Value |
getRed()
Implements Value.getRed(). |
java.lang.String |
toString()
Returns a printable representation of the color. |
| Methods inherited from class org.apache.batik.css.engine.value.AbstractValue |
|---|
createDOMException, getBottom, getCssValueType, getFloatValue, getIdentifier, getLeft, getLength, getListStyle, getRight, getSeparator, getStringValue, getTop, item |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Value red
protected Value green
protected Value blue
| Constructor Detail |
public RGBColorValue(Value r,
Value g,
Value b)
| Method Detail |
public short getPrimitiveType()
getPrimitiveType in interface ValuegetPrimitiveType in class AbstractValuepublic java.lang.String getCssText()
public Value getRed()
throws org.w3c.dom.DOMException
Value.getRed().
getRed in interface ValuegetRed in class AbstractValueorg.w3c.dom.DOMException
public Value getGreen()
throws org.w3c.dom.DOMException
Value.getGreen().
getGreen in interface ValuegetGreen in class AbstractValueorg.w3c.dom.DOMException
public Value getBlue()
throws org.w3c.dom.DOMException
Value.getBlue().
getBlue in interface ValuegetBlue in class AbstractValueorg.w3c.dom.DOMExceptionpublic java.lang.String toString()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||