org.apache.batik.css.engine.value

Class ComputedValue

public class ComputedValue extends Object implements Value

This class represents a computed property value.
Field Summary
protected ValuecascadedValue
The cascaded value.
protected ValuecomputedValue
The computed value.
Constructor Summary
ComputedValue(Value cv)
Creates a new ComputedValue object.
Method Summary
ValuegetBlue()
Implements {@link Value#getBlue()}.
ValuegetBottom()
Implements {@link Value#getBottom()}.
ValuegetCascadedValue()
Returns the cascaded value.
ValuegetComputedValue()
Returns the computed value.
StringgetCssText()
Implements {@link Value#getCssText()}.
shortgetCssValueType()
Implements {@link Value#getCssValueType()}.
floatgetFloatValue()
Implements {@link Value#getFloatValue()}.
ValuegetGreen()
Implements {@link Value#getGreen()}.
StringgetIdentifier()
Implements {@link Value#getIdentifier()}.
ValuegetLeft()
Implements {@link Value#getLeft()}.
intgetLength()
Implements {@link Value#getLength()}.
StringgetListStyle()
Implements {@link Value#getListStyle()}.
shortgetPrimitiveType()
Implements {@link Value#getPrimitiveType()}.
ValuegetRed()
Implements {@link Value#getRed()}.
ValuegetRight()
Implements {@link Value#getRight()}.
StringgetSeparator()
Implements {@link Value#getSeparator()}.
StringgetStringValue()
Implements {@link Value#getStringValue()}.
ValuegetTop()
Implements {@link Value#getTop()}.
Valueitem(int index)
Implements {@link Value#item(int)}.
voidsetComputedValue(Value v)
Sets the computed value.

Field Detail

cascadedValue

protected Value cascadedValue
The cascaded value.

computedValue

protected Value computedValue
The computed value.

Constructor Detail

ComputedValue

public ComputedValue(Value cv)
Creates a new ComputedValue object.

Parameters: cv The cascaded value.

Method Detail

getBlue

public Value getBlue()
Implements {@link Value#getBlue()}.

getBottom

public Value getBottom()
Implements {@link Value#getBottom()}.

getCascadedValue

public Value getCascadedValue()
Returns the cascaded value.

getComputedValue

public Value getComputedValue()
Returns the computed value.

getCssText

public String getCssText()
Implements {@link Value#getCssText()}.

getCssValueType

public short getCssValueType()
Implements {@link Value#getCssValueType()}.

getFloatValue

public float getFloatValue()
Implements {@link Value#getFloatValue()}.

getGreen

public Value getGreen()
Implements {@link Value#getGreen()}.

getIdentifier

public String getIdentifier()
Implements {@link Value#getIdentifier()}.

getLeft

public Value getLeft()
Implements {@link Value#getLeft()}.

getLength

public int getLength()
Implements {@link Value#getLength()}.

getListStyle

public String getListStyle()
Implements {@link Value#getListStyle()}.

getPrimitiveType

public short getPrimitiveType()
Implements {@link Value#getPrimitiveType()}.

getRed

public Value getRed()
Implements {@link Value#getRed()}.

getRight

public Value getRight()
Implements {@link Value#getRight()}.

getSeparator

public String getSeparator()
Implements {@link Value#getSeparator()}.

getStringValue

public String getStringValue()
Implements {@link Value#getStringValue()}.

getTop

public Value getTop()
Implements {@link Value#getTop()}.

item

public Value item(int index)
Implements {@link Value#item(int)}.

setComputedValue

public void setComputedValue(Value v)
Sets the computed value.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.