|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.css.engine.value.ComputedValue
public class ComputedValue
This class represents a computed property value.
Field Summary | |
---|---|
protected Value |
cascadedValue
The cascaded value. |
protected Value |
computedValue
The computed value. |
Constructor Summary | |
---|---|
ComputedValue(Value cv)
Creates a new ComputedValue object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Value cascadedValue
protected Value computedValue
Constructor Detail |
---|
public ComputedValue(Value cv)
cv
- The cascaded value.Method Detail |
---|
public Value getComputedValue()
public Value getCascadedValue()
public void setComputedValue(Value v)
public String getCssText()
Value.getCssText()
.
getCssText
in interface Value
public short getCssValueType()
Value.getCssValueType()
.
getCssValueType
in interface Value
public short getPrimitiveType()
Value.getPrimitiveType()
.
getPrimitiveType
in interface Value
public float getFloatValue() throws DOMException
Value.getFloatValue()
.
getFloatValue
in interface Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a float
value.public String getStringValue() throws DOMException
Value.getStringValue()
.
getStringValue
in interface Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a string
value.public Value getRed() throws DOMException
Value.getRed()
.
getRed
in interface Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB
color value.public Value getGreen() throws DOMException
Value.getGreen()
.
getGreen
in interface Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB
color value.public Value getBlue() throws DOMException
Value.getBlue()
.
getBlue
in interface Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB
color value.public int getLength() throws DOMException
Value.getLength()
.
getLength
in interface Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a list
value.public Value item(int index) throws DOMException
Value.item(int)
.
item
in interface Value
index
position in the
list, or null
if that is not a valid index.
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a list
value.public Value getTop() throws DOMException
Value.getTop()
.
getTop
in interface Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public Value getRight() throws DOMException
Value.getRight()
.
getRight
in interface Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public Value getBottom() throws DOMException
Value.getBottom()
.
getBottom
in interface Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public Value getLeft() throws DOMException
Value.getLeft()
.
getLeft
in interface Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect
value.public String getIdentifier() throws DOMException
Value.getIdentifier()
.
getIdentifier
in interface Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter
value.public String getListStyle() throws DOMException
Value.getListStyle()
.
getListStyle
in interface Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter
value.public String getSeparator() throws DOMException
Value.getSeparator()
.
getSeparator
in interface Value
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter
value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |