|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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 provide 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 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. |
|
| 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 ArrayList iccColors
| Constructor Detail |
public CSSOMSVGColor(CSSOMSVGColor.ValueProvider vp)
| Method Detail |
public void setModificationHandler(CSSOMSVGColor.ModificationHandler h)
public String getCssText()
CSSValue.getCssText().
getCssText in interface CSSValue
public void setCssText(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 RGBColor getRgbColor()
public void setRGBColor(String color)
SVGColor.setRGBColor(String).
setRGBColor in interface SVGColorpublic SVGICCColor getICCColor()
SVGColor.getICCColor().
getICCColor in interface SVGColorpublic SVGICCColor getIccColor()
public void setRGBColorICCColor(String rgb,
String icc)
SVGColor.setRGBColorICCColor(String,String).
setRGBColorICCColor in interface SVGColor
public void setColor(short type,
String rgb,
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 String getColorProfile()
SVGICCColor.getColorProfile().
getColorProfile in interface SVGICCColor
public void setColorProfile(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 | ||||||||||