|
||||||||||
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.svg.ICCColor
public class ICCColor
This class represents an ICC color value.
Field Summary | |
---|---|
protected java.lang.String |
colorProfile
The color profile. |
protected float[] |
colors
The colors. |
protected int |
count
The color count. |
Constructor Summary | |
---|---|
ICCColor(java.lang.String name)
Creates a new ICCColor. |
Method Summary | |
---|---|
void |
append(float c)
Appends a color to the list. |
float |
getColor(int i)
Returns the color at the given index. |
java.lang.String |
getColorProfile()
Returns the color name. |
java.lang.String |
getCssText()
A string representation of the current value. |
short |
getCssValueType()
Implements Value.getCssValueType() . |
int |
getNumberOfColors()
Returns the number of colors. |
Methods inherited from class org.apache.batik.css.engine.value.AbstractValue |
---|
createDOMException, getBlue, getBottom, getFloatValue, getGreen, getIdentifier, getLeft, getLength, getListStyle, getPrimitiveType, getRed, getRight, getSeparator, getStringValue, getTop, item |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String colorProfile
protected int count
protected float[] colors
Constructor Detail |
---|
public ICCColor(java.lang.String name)
Method Detail |
---|
public short getCssValueType()
Value.getCssValueType()
.
getCssValueType
in interface Value
getCssValueType
in class AbstractValue
public java.lang.String getColorProfile() throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
public int getNumberOfColors() throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
public float getColor(int i) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
public java.lang.String getCssText()
public void append(float c)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |