Class ComputedValue
- java.lang.Object
-
- org.apache.batik.css.engine.value.ComputedValue
-
-
Field Summary
Fields Modifier and Type Field Description protected Value
cascadedValue
The cascaded value.protected Value
computedValue
The computed value.
-
Constructor Summary
Constructors Constructor Description ComputedValue(Value cv)
Creates a new ComputedValue object.
-
Method Summary
-
-
-
Constructor Detail
-
ComputedValue
public ComputedValue(Value cv)
Creates a new ComputedValue object.- Parameters:
cv
- The cascaded value.
-
-
Method Detail
-
getComputedValue
public Value getComputedValue()
Returns the computed value.
-
getCascadedValue
public Value getCascadedValue()
Returns the cascaded value.
-
setComputedValue
public void setComputedValue(Value v)
Sets the computed value.
-
getCssText
public java.lang.String 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
public float getFloatValue() throws org.w3c.dom.DOMException
ImplementsValue.getFloatValue()
.- Specified by:
getFloatValue
in interfaceValue
- Throws:
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a float value.
-
getStringValue
public java.lang.String getStringValue() throws org.w3c.dom.DOMException
ImplementsValue.getStringValue()
.- Specified by:
getStringValue
in interfaceValue
- Throws:
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a string value.
-
getRed
public Value getRed() throws org.w3c.dom.DOMException
ImplementsValue.getRed()
.
-
getGreen
public Value getGreen() throws org.w3c.dom.DOMException
ImplementsValue.getGreen()
.
-
getBlue
public Value getBlue() throws org.w3c.dom.DOMException
ImplementsValue.getBlue()
.
-
getLength
public int getLength() throws org.w3c.dom.DOMException
ImplementsValue.getLength()
.
-
item
public Value item(int index) throws org.w3c.dom.DOMException
ImplementsValue.item(int)
.
-
getTop
public Value getTop() throws org.w3c.dom.DOMException
ImplementsValue.getTop()
.
-
getRight
public Value getRight() throws org.w3c.dom.DOMException
ImplementsValue.getRight()
.
-
getBottom
public Value getBottom() throws org.w3c.dom.DOMException
ImplementsValue.getBottom()
.
-
getLeft
public Value getLeft() throws org.w3c.dom.DOMException
ImplementsValue.getLeft()
.
-
getIdentifier
public java.lang.String getIdentifier() throws org.w3c.dom.DOMException
ImplementsValue.getIdentifier()
.- Specified by:
getIdentifier
in interfaceValue
- Throws:
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
-
getListStyle
public java.lang.String getListStyle() throws org.w3c.dom.DOMException
ImplementsValue.getListStyle()
.- Specified by:
getListStyle
in interfaceValue
- Throws:
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
-
getSeparator
public java.lang.String getSeparator() throws org.w3c.dom.DOMException
ImplementsValue.getSeparator()
.- Specified by:
getSeparator
in interfaceValue
- Throws:
org.w3c.dom.DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
-
-