|
||||||||||||
| 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 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(). |
org.w3c.dom.css.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(). |
org.w3c.dom.css.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(). |
org.w3c.dom.css.CSSPrimitiveValue |
getRed()
DOM: Implements RGBColor.getRed(). |
org.w3c.dom.css.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 org.w3c.dom.css.CSSValue
public void setCssText(java.lang.String cssText)
throws org.w3c.dom.DOMException
CSSValue.setCssText(String).
setCssText in interface org.w3c.dom.css.CSSValueorg.w3c.dom.DOMExceptionpublic short getCssValueType()
CSSValue.getCssValueType().
getCssValueType in interface org.w3c.dom.css.CSSValuepublic short getColorType()
SVGColor.getColorType().
getColorType in interface SVGColorpublic org.w3c.dom.css.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 org.w3c.dom.css.CSSPrimitiveValue getRed()
RGBColor.getRed().
getRed in interface org.w3c.dom.css.RGBColorpublic org.w3c.dom.css.CSSPrimitiveValue getGreen()
RGBColor.getGreen().
getGreen in interface org.w3c.dom.css.RGBColorpublic org.w3c.dom.css.CSSPrimitiveValue getBlue()
RGBColor.getBlue().
getBlue in interface org.w3c.dom.css.RGBColorpublic java.lang.String getColorProfile()
SVGICCColor.getColorProfile().
getColorProfile in interface SVGICCColor
public void setColorProfile(java.lang.String colorProfile)
throws org.w3c.dom.DOMException
SVGICCColor.setColorProfile(String).
setColorProfile in interface SVGICCColororg.w3c.dom.DOMExceptionpublic SVGNumberList getColors()
SVGICCColor.getColors().
getColors in interface SVGICCColorpublic int getNumberOfItems()
SVGNumberList.getNumberOfItems().
getNumberOfItems in interface SVGNumberList
public void clear()
throws org.w3c.dom.DOMException
SVGNumberList.clear().
clear in interface SVGNumberListorg.w3c.dom.DOMException
public SVGNumber initialize(SVGNumber newItem)
throws org.w3c.dom.DOMException
SVGNumberList.initialize(SVGNumber).
initialize in interface SVGNumberListorg.w3c.dom.DOMException
public SVGNumber getItem(int index)
throws org.w3c.dom.DOMException
SVGNumberList.getItem(int).
getItem in interface SVGNumberListorg.w3c.dom.DOMException
public SVGNumber insertItemBefore(SVGNumber newItem,
int index)
throws org.w3c.dom.DOMException
SVGNumberList.insertItemBefore(SVGNumber,int).
insertItemBefore in interface SVGNumberListorg.w3c.dom.DOMException
public SVGNumber replaceItem(SVGNumber newItem,
int index)
throws org.w3c.dom.DOMException
SVGNumberList.replaceItem(SVGNumber,int).
replaceItem in interface SVGNumberListorg.w3c.dom.DOMException
public SVGNumber removeItem(int index)
throws org.w3c.dom.DOMException
SVGNumberList.removeItem(int).
removeItem in interface SVGNumberListorg.w3c.dom.DOMException
public SVGNumber appendItem(SVGNumber newItem)
throws org.w3c.dom.DOMException
SVGNumberList.appendItem(SVGNumber).
appendItem in interface SVGNumberListorg.w3c.dom.DOMException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||