|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--org.apache.batik.css.dom.CSSOMSVGColor
This class implements the SVGColor interface.
| Nested Class Summary | |
|---|---|
protected class |
CSSOMSVGColor.AbstractComponent
To store a component. |
class |
CSSOMSVGColor.AbstractModificationHandler
Provides an abstract implementation of a ModificationHandler. |
protected class |
CSSOMSVGColor.BlueComponent
To represents a blue component. |
protected class |
CSSOMSVGColor.ColorNumber
To represent a SVGNumber which is part of a color list. |
protected class |
CSSOMSVGColor.FloatComponent
To store a Float component. |
protected class |
CSSOMSVGColor.GreenComponent
To represents a green component. |
static interface |
CSSOMSVGColor.ModificationHandler
To manage the modifications on a CSS value. |
protected class |
CSSOMSVGColor.RedComponent
To represents a red component. |
static interface |
CSSOMSVGColor.ValueProvider
To provides the actual value. |
| Field Summary | |
|---|---|
protected CSSOMSVGColor.BlueComponent |
blueComponent
The blue component, if this value is a RGBColor. |
protected CSSOMSVGColor.GreenComponent |
greenComponent
The green component, if this value is a RGBColor. |
protected CSSOMSVGColor.ModificationHandler |
handler
The modifications handler. |
protected java.util.ArrayList |
iccColors
To store the ICC color list. |
protected CSSOMSVGColor.RedComponent |
redComponent
The red component, if this value is a RGBColor. |
protected CSSOMSVGColor.ValueProvider |
valueProvider
The associated value. |
| Fields inherited from interface org.w3c.dom.svg.SVGColor |
|---|
SVG_COLORTYPE_CURRENTCOLOR, SVG_COLORTYPE_RGBCOLOR, SVG_COLORTYPE_RGBCOLOR_ICCCOLOR, SVG_COLORTYPE_UNKNOWN |
| Fields inherited from interface org.w3c.dom.css.CSSValue |
|---|
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST |
| Constructor Summary | |
|---|---|
CSSOMSVGColor(CSSOMSVGColor.ValueProvider vp)
Creates a new CSSOMSVGColor. |
|
| Method Summary | |
|---|---|
SVGNumber |
appendItem(SVGNumber newItem)
DOM: Implements SVGNumberList.appendItem(SVGNumber). |
void |
clear()
DOM: Implements SVGNumberList.clear(). |
CSSPrimitiveValue |
getBlue()
DOM: Implements RGBColor.getBlue(). |
java.lang.String |
getColorProfile()
DOM: Implements SVGICCColor.getColorProfile(). |
SVGNumberList |
getColors()
DOM: Implements SVGICCColor.getColors(). |
short |
getColorType()
DOM: Implements SVGColor.getColorType(). |
java.lang.String |
getCssText()
DOM: Implements CSSValue.getCssText(). |
short |
getCssValueType()
DOM: Implements CSSValue.getCssValueType(). |
CSSPrimitiveValue |
getGreen()
DOM: Implements RGBColor.getGreen(). |
SVGICCColor |
getICCColor()
DOM: Implements SVGColor.getICCColor(). |
SVGNumber |
getItem(int index)
DOM: Implements SVGNumberList.getItem(int). |
int |
getNumberOfItems()
DOM: Implements SVGNumberList.getNumberOfItems(). |
CSSPrimitiveValue |
getRed()
DOM: Implements RGBColor.getRed(). |
RGBColor |
getRGBColor()
DOM: Implements SVGColor.getRGBColor(). |
SVGNumber |
initialize(SVGNumber newItem)
DOM: Implements SVGNumberList.initialize(SVGNumber). |
SVGNumber |
insertItemBefore(SVGNumber newItem,
int index)
DOM: Implements SVGNumberList.insertItemBefore(SVGNumber,int). |
SVGNumber |
removeItem(int index)
DOM: Implements SVGNumberList.removeItem(int). |
SVGNumber |
replaceItem(SVGNumber newItem,
int index)
DOM: Implements SVGNumberList.replaceItem(SVGNumber,int). |
void |
setColor(short type,
java.lang.String rgb,
java.lang.String icc)
DOM: Implements SVGColor.setColor(short,String,String). |
void |
setColorProfile(java.lang.String colorProfile)
DOM: Implements SVGICCColor.setColorProfile(String). |
void |
setCssText(java.lang.String cssText)
DOM: Implements CSSValue.setCssText(String). |
void |
setModificationHandler(CSSOMSVGColor.ModificationHandler h)
Sets the modification handler of this value. |
void |
setRGBColor(java.lang.String color)
DOM: Implements SVGColor.setRGBColor(String). |
void |
setRGBColorICCColor(java.lang.String rgb,
java.lang.String icc)
DOM: Implements SVGColor.setRGBColorICCColor(String,String). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected CSSOMSVGColor.ValueProvider valueProvider
protected CSSOMSVGColor.ModificationHandler handler
protected CSSOMSVGColor.RedComponent redComponent
protected CSSOMSVGColor.GreenComponent greenComponent
protected CSSOMSVGColor.BlueComponent blueComponent
protected java.util.ArrayList iccColors
| Constructor Detail |
public CSSOMSVGColor(CSSOMSVGColor.ValueProvider vp)
| Method Detail |
public void setModificationHandler(CSSOMSVGColor.ModificationHandler h)
public java.lang.String getCssText()
CSSValue.getCssText().
getCssText in interface CSSValue
public void setCssText(java.lang.String cssText)
throws DOMException
CSSValue.setCssText(String).
setCssText in interface CSSValueDOMExceptionpublic short getCssValueType()
CSSValue.getCssValueType().
getCssValueType in interface CSSValuepublic short getColorType()
SVGColor.getColorType().
getColorType in interface SVGColorpublic RGBColor getRGBColor()
SVGColor.getRGBColor().
getRGBColor in interface SVGColorpublic void setRGBColor(java.lang.String color)
SVGColor.setRGBColor(String).
setRGBColor in interface SVGColorpublic SVGICCColor getICCColor()
SVGColor.getICCColor().
getICCColor in interface SVGColor
public void setRGBColorICCColor(java.lang.String rgb,
java.lang.String icc)
SVGColor.setRGBColorICCColor(String,String).
setRGBColorICCColor in interface SVGColor
public void setColor(short type,
java.lang.String rgb,
java.lang.String icc)
SVGColor.setColor(short,String,String).
setColor in interface SVGColorpublic CSSPrimitiveValue getRed()
RGBColor.getRed().
getRed in interface RGBColorpublic CSSPrimitiveValue getGreen()
RGBColor.getGreen().
getGreen in interface RGBColorpublic CSSPrimitiveValue getBlue()
RGBColor.getBlue().
getBlue in interface RGBColorpublic java.lang.String getColorProfile()
SVGICCColor.getColorProfile().
getColorProfile in interface SVGICCColor
public void setColorProfile(java.lang.String colorProfile)
throws DOMException
SVGICCColor.setColorProfile(String).
setColorProfile in interface SVGICCColorDOMExceptionpublic SVGNumberList getColors()
SVGICCColor.getColors().
getColors in interface SVGICCColorpublic int getNumberOfItems()
SVGNumberList.getNumberOfItems().
getNumberOfItems in interface SVGNumberList
public void clear()
throws DOMException
SVGNumberList.clear().
clear in interface SVGNumberListDOMException
public SVGNumber initialize(SVGNumber newItem)
throws DOMException
SVGNumberList.initialize(SVGNumber).
initialize in interface SVGNumberListDOMException
public SVGNumber getItem(int index)
throws DOMException
SVGNumberList.getItem(int).
getItem in interface SVGNumberListDOMException
public SVGNumber insertItemBefore(SVGNumber newItem,
int index)
throws DOMException
SVGNumberList.insertItemBefore(SVGNumber,int).
insertItemBefore in interface SVGNumberListDOMException
public SVGNumber replaceItem(SVGNumber newItem,
int index)
throws DOMException
SVGNumberList.replaceItem(SVGNumber,int).
replaceItem in interface SVGNumberListDOMException
public SVGNumber removeItem(int index)
throws DOMException
SVGNumberList.removeItem(int).
removeItem in interface SVGNumberListDOMException
public SVGNumber appendItem(SVGNumber newItem)
throws DOMException
SVGNumberList.appendItem(SVGNumber).
appendItem in interface SVGNumberListDOMException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||