Class ComputedValue
java.lang.Object
org.apache.batik.css.engine.value.ComputedValue
- All Implemented Interfaces:
Value
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlue()ImplementsValue.getBlue().ImplementsValue.getBottom().Returns the cascaded value.Returns the computed value.ImplementsValue.getCssText().shortImplementsValue.getCssValueType().floatImplementsValue.getFloatValue().getGreen()ImplementsValue.getGreen().ImplementsValue.getIdentifier().getLeft()ImplementsValue.getLeft().intImplementsValue.getLength().ImplementsValue.getListStyle().shortImplementsValue.getPrimitiveType().getRed()ImplementsValue.getRed().getRight()ImplementsValue.getRight().ImplementsValue.getSeparator().ImplementsValue.getStringValue().getTop()ImplementsValue.getTop().item(int index) ImplementsValue.item(int).voidSets the computed value.
-
Field Details
-
cascadedValue
The cascaded value. -
computedValue
The computed value.
-
-
Constructor Details
-
ComputedValue
Creates a new ComputedValue object.- Parameters:
cv- The cascaded value.
-
-
Method Details
-
getComputedValue
Returns the computed value. -
getCascadedValue
Returns the cascaded value. -
setComputedValue
Sets the computed value. -
getCssText
ImplementsValue.getCssText().- Specified by:
getCssTextin interfaceValue
-
getCssValueType
public short getCssValueType()ImplementsValue.getCssValueType().- Specified by:
getCssValueTypein interfaceValue
-
getPrimitiveType
public short getPrimitiveType()ImplementsValue.getPrimitiveType().- Specified by:
getPrimitiveTypein interfaceValue
-
getFloatValue
ImplementsValue.getFloatValue().- Specified by:
getFloatValuein interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a float value.
-
getStringValue
ImplementsValue.getStringValue().- Specified by:
getStringValuein interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a string value.
-
getRed
ImplementsValue.getRed().- Specified by:
getRedin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.
-
getGreen
ImplementsValue.getGreen().- Specified by:
getGreenin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.
-
getBlue
ImplementsValue.getBlue().- Specified by:
getBluein interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.
-
getLength
ImplementsValue.getLength().- Specified by:
getLengthin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a list value.
-
item
ImplementsValue.item(int).- Specified by:
itemin interfaceValue- Returns:
- The style rule at the
indexposition in the list, ornullif that is not a valid index. - Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a list value.
-
getTop
ImplementsValue.getTop().- Specified by:
getTopin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getRight
ImplementsValue.getRight().- Specified by:
getRightin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getBottom
ImplementsValue.getBottom().- Specified by:
getBottomin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getLeft
ImplementsValue.getLeft().- Specified by:
getLeftin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getIdentifier
ImplementsValue.getIdentifier().- Specified by:
getIdentifierin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
-
getListStyle
ImplementsValue.getListStyle().- Specified by:
getListStylein interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
-
getSeparator
ImplementsValue.getSeparator().- Specified by:
getSeparatorin interfaceValue- Throws:
DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
-