Package org.apache.batik.css.dom
Class CSSOMSVGColor.AbstractComponent
java.lang.Object
org.apache.batik.css.dom.CSSOMSVGColor.AbstractComponent
- All Implemented Interfaces:
org.w3c.dom.css.CSSPrimitiveValue
,org.w3c.dom.css.CSSValue
- Direct Known Subclasses:
CSSOMSVGColor.FloatComponent
- Enclosing class:
- CSSOMSVGColor
protected abstract class CSSOMSVGColor.AbstractComponent
extends Object
implements org.w3c.dom.css.CSSPrimitiveValue
To store a component.
-
Field Summary
Fields inherited from interface org.w3c.dom.css.CSSPrimitiveValue
CSS_ATTR, CSS_CM, CSS_COUNTER, CSS_DEG, CSS_DIMENSION, CSS_EMS, CSS_EXS, CSS_GRAD, CSS_HZ, CSS_IDENT, CSS_IN, CSS_KHZ, CSS_MM, CSS_MS, CSS_NUMBER, CSS_PC, CSS_PERCENTAGE, CSS_PT, CSS_PX, CSS_RAD, CSS_RECT, CSS_RGBCOLOR, CSS_S, CSS_STRING, CSS_UNKNOWN, CSS_URI
Fields inherited from interface org.w3c.dom.css.CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.w3c.dom.css.Counter
DOM: ImplementsCSSPrimitiveValue.getCounterValue()
.DOM: ImplementsCSSValue.getCssText()
.short
DOM: ImplementsCSSValue.getCssValueType()
.float
getFloatValue
(short unitType) DOM: ImplementsCSSPrimitiveValue.getFloatValue(short)
.int
DOM: ImplementsCSSValueList.getLength()
.short
DOM: ImplementsCSSPrimitiveValue.getPrimitiveType()
.org.w3c.dom.css.Rect
DOM: ImplementsCSSPrimitiveValue.getRectValue()
.org.w3c.dom.css.RGBColor
DOM: ImplementsCSSPrimitiveValue.getRGBColorValue()
.DOM: ImplementsCSSPrimitiveValue.getStringValue()
.protected abstract Value
getValue()
The returns the actual value of this component.org.w3c.dom.css.CSSValue
item
(int index) DOM: ImplementsCSSValueList.item(int)
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.w3c.dom.css.CSSPrimitiveValue
setFloatValue, setStringValue
Methods inherited from interface org.w3c.dom.css.CSSValue
setCssText
-
Constructor Details
-
AbstractComponent
protected AbstractComponent()
-
-
Method Details
-
getValue
The returns the actual value of this component. -
getCssText
DOM: ImplementsCSSValue.getCssText()
.- Specified by:
getCssText
in interfaceorg.w3c.dom.css.CSSValue
-
getCssValueType
public short getCssValueType()DOM: ImplementsCSSValue.getCssValueType()
.- Specified by:
getCssValueType
in interfaceorg.w3c.dom.css.CSSValue
-
getPrimitiveType
public short getPrimitiveType()DOM: ImplementsCSSPrimitiveValue.getPrimitiveType()
.- Specified by:
getPrimitiveType
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
-
getFloatValue
DOM: ImplementsCSSPrimitiveValue.getFloatValue(short)
.- Specified by:
getFloatValue
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
-
getStringValue
DOM: ImplementsCSSPrimitiveValue.getStringValue()
.- Specified by:
getStringValue
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
-
getCounterValue
DOM: ImplementsCSSPrimitiveValue.getCounterValue()
.- Specified by:
getCounterValue
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
-
getRectValue
DOM: ImplementsCSSPrimitiveValue.getRectValue()
.- Specified by:
getRectValue
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
-
getRGBColorValue
DOM: ImplementsCSSPrimitiveValue.getRGBColorValue()
.- Specified by:
getRGBColorValue
in interfaceorg.w3c.dom.css.CSSPrimitiveValue
- Throws:
DOMException
-
getLength
public int getLength()DOM: ImplementsCSSValueList.getLength()
. -
item
public org.w3c.dom.css.CSSValue item(int index) DOM: ImplementsCSSValueList.item(int)
.
-