|
|||||||||
| Home >> All >> org >> apache >> batik >> css >> engine >> [ value overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.batik.css.engine.value
Class RGBColorValue

java.lang.Objectorg.apache.batik.css.engine.value.AbstractValue
org.apache.batik.css.engine.value.RGBColorValue
- All Implemented Interfaces:
- Value
- public class RGBColorValue
- extends AbstractValue
This class represents RGB colors.
- Version:
- $Id: RGBColorValue.java,v 1.3 2004/08/18 07:12:53 vhardy Exp $
| 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() 55 . |
java.lang.String |
getCssText()
A string representation of the current value. |
Value |
getGreen()
Implements Value.getGreen() 55 . |
short |
getPrimitiveType()
The type of the value. |
Value |
getRed()
Implements Value.getRed() 55 . |
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 |
red
protected Value red
- The red component.
green
protected Value green
- The green component.
blue
protected Value blue
- The blue component.
| Constructor Detail |
RGBColorValue
public RGBColorValue(Value r, Value g, Value b)
- Creates a new RGBColorValue.
| Method Detail |
getPrimitiveType
public short getPrimitiveType()
- The type of the value.
- Specified by:
getPrimitiveTypein interfaceValue- Overrides:
getPrimitiveTypein classAbstractValue
getCssText
public java.lang.String getCssText()
- A string representation of the current value.
getRed
public Value getRed() throws org.w3c.dom.DOMException
- Implements
Value.getRed()55 .- Specified by:
getRedin interfaceValue- Overrides:
getRedin classAbstractValue
getGreen
public Value getGreen() throws org.w3c.dom.DOMException
- Implements
Value.getGreen()55 .- Specified by:
getGreenin interfaceValue- Overrides:
getGreenin classAbstractValue
getBlue
public Value getBlue() throws org.w3c.dom.DOMException
- Implements
Value.getBlue()55 .- Specified by:
getBluein interfaceValue- Overrides:
getBluein classAbstractValue
toString
public java.lang.String toString()
- Returns a printable representation of the color.
|
|||||||||
| Home >> All >> org >> apache >> batik >> css >> engine >> [ value overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC