Class ComputedValue
- java.lang.Object
-
- org.apache.batik.css.engine.value.ComputedValue
-
-
Field Summary
Fields Modifier and Type Field Description protected ValuecascadedValueThe cascaded value.protected ValuecomputedValueThe 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:
getCssTextin interfaceValue
-
getCssValueType
public short getCssValueType()
ImplementsValue.getCssValueType().- Specified by:
getCssValueTypein interfaceValue
-
getPrimitiveType
public short getPrimitiveType()
ImplementsValue.getPrimitiveType().- Specified by:
getPrimitiveTypein interfaceValue
-
getFloatValue
public float getFloatValue() throws org.w3c.dom.DOMExceptionImplementsValue.getFloatValue().- Specified by:
getFloatValuein 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.DOMExceptionImplementsValue.getStringValue().- Specified by:
getStringValuein 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.DOMExceptionImplementsValue.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.DOMExceptionImplementsValue.getIdentifier().- Specified by:
getIdentifierin 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.DOMExceptionImplementsValue.getListStyle().- Specified by:
getListStylein 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.DOMExceptionImplementsValue.getSeparator().- Specified by:
getSeparatorin interfaceValue- Throws:
org.w3c.dom.DOMException- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.
-
-