Class ComputedValue
java.lang.Object
org.apache.batik.css.engine.value.ComputedValue
- All Implemented Interfaces:
Value
This class represents a computed property 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()
.short
ImplementsValue.getCssValueType()
.float
ImplementsValue.getFloatValue()
.getGreen()
ImplementsValue.getGreen()
.ImplementsValue.getIdentifier()
.getLeft()
ImplementsValue.getLeft()
.int
ImplementsValue.getLength()
.ImplementsValue.getListStyle()
.short
ImplementsValue.getPrimitiveType()
.getRed()
ImplementsValue.getRed()
.getRight()
ImplementsValue.getRight()
.ImplementsValue.getSeparator()
.ImplementsValue.getStringValue()
.getTop()
ImplementsValue.getTop()
.item
(int index) ImplementsValue.item(int)
.void
Sets 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:
getCssText
in interfaceValue
-
getCssValueType
public short getCssValueType()ImplementsValue.getCssValueType()
.- Specified by:
getCssValueType
in interfaceValue
-
getPrimitiveType
public short getPrimitiveType()ImplementsValue.getPrimitiveType()
.- Specified by:
getPrimitiveType
in interfaceValue
-
getFloatValue
ImplementsValue.getFloatValue()
.- Specified by:
getFloatValue
in interfaceValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a float value.
-
getStringValue
ImplementsValue.getStringValue()
.- Specified by:
getStringValue
in interfaceValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a string value.
-
getRed
ImplementsValue.getRed()
.- Specified by:
getRed
in interfaceValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.
-
getGreen
ImplementsValue.getGreen()
.- Specified by:
getGreen
in interfaceValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.
-
getBlue
ImplementsValue.getBlue()
.- Specified by:
getBlue
in interfaceValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.
-
getLength
ImplementsValue.getLength()
.- Specified by:
getLength
in interfaceValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a list value.
-
item
ImplementsValue.item(int)
.- Specified by:
item
in interfaceValue
- Returns:
- The style rule at the
index
position in the list, ornull
if 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:
getTop
in interfaceValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getRight
ImplementsValue.getRight()
.- Specified by:
getRight
in interfaceValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getBottom
ImplementsValue.getBottom()
.- Specified by:
getBottom
in interfaceValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getLeft
ImplementsValue.getLeft()
.- Specified by:
getLeft
in interfaceValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getIdentifier
ImplementsValue.getIdentifier()
.- Specified by:
getIdentifier
in interfaceValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
-
getListStyle
ImplementsValue.getListStyle()
.- Specified by:
getListStyle
in interfaceValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
-
getSeparator
ImplementsValue.getSeparator()
.- Specified by:
getSeparator
in interfaceValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
-