|
|||||||||||
| 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(). |
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(). |
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 String getCssText()
public Value getRed()
throws DOMException
Value.getRed().
getRed in interface ValuegetRed in class AbstractValueDOMException
public Value getGreen()
throws DOMException
Value.getGreen().
getGreen in interface ValuegetGreen in class AbstractValueDOMException
public Value getBlue()
throws DOMException
Value.getBlue().
getBlue in interface ValuegetBlue in class AbstractValueDOMExceptionpublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||