Class CSSOMValue.AbstractComponent
java.lang.Object
org.apache.batik.css.dom.CSSOMValue.AbstractComponent
- All Implemented Interfaces:
CSSPrimitiveValue, CSSValue
- Direct Known Subclasses:
CSSOMValue.FloatComponent, CSSOMValue.ListComponent
- Enclosing class:
CSSOMValue
To store a component.
-
Field Summary
Fields inherited from interface 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_URIFields inherited from interface CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDOM: ImplementsCSSPrimitiveValue.getCounterValue().DOM: ImplementsCSSValue.getCssText().shortDOM: ImplementsCSSValue.getCssValueType().floatgetFloatValue(short unitType) DOM: ImplementsCSSPrimitiveValue.getFloatValue(short).intDOM: ImplementsCSSValueList.getLength().shortDOM: ImplementsCSSPrimitiveValue.getPrimitiveType().DOM: ImplementsCSSPrimitiveValue.getRectValue().DOM: ImplementsCSSPrimitiveValue.getRGBColorValue().DOM: ImplementsCSSPrimitiveValue.getStringValue().protected abstract ValuegetValue()The returns the actual value of this component.item(int index) DOM: ImplementsCSSValueList.item(int).Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CSSPrimitiveValue
setFloatValue, setStringValueMethods inherited from interface CSSValue
setCssText
-
Constructor Details
-
AbstractComponent
protected AbstractComponent()
-
-
Method Details
-
getValue
The returns the actual value of this component. -
getCssText
DOM: ImplementsCSSValue.getCssText().- Specified by:
getCssTextin interfaceCSSValue
-
getCssValueType
public short getCssValueType()DOM: ImplementsCSSValue.getCssValueType().- Specified by:
getCssValueTypein interfaceCSSValue
-
getPrimitiveType
public short getPrimitiveType()DOM: ImplementsCSSPrimitiveValue.getPrimitiveType().- Specified by:
getPrimitiveTypein interfaceCSSPrimitiveValue
-
getFloatValue
DOM: ImplementsCSSPrimitiveValue.getFloatValue(short).- Specified by:
getFloatValuein interfaceCSSPrimitiveValue- Throws:
DOMException
-
getStringValue
DOM: ImplementsCSSPrimitiveValue.getStringValue().- Specified by:
getStringValuein interfaceCSSPrimitiveValue- Throws:
DOMException
-
getCounterValue
DOM: ImplementsCSSPrimitiveValue.getCounterValue().- Specified by:
getCounterValuein interfaceCSSPrimitiveValue- Throws:
DOMException
-
getRectValue
DOM: ImplementsCSSPrimitiveValue.getRectValue().- Specified by:
getRectValuein interfaceCSSPrimitiveValue- Throws:
DOMException
-
getRGBColorValue
DOM: ImplementsCSSPrimitiveValue.getRGBColorValue().- Specified by:
getRGBColorValuein interfaceCSSPrimitiveValue- Throws:
DOMException
-
getLength
public int getLength()DOM: ImplementsCSSValueList.getLength(). -
item
DOM: ImplementsCSSValueList.item(int).
-