org.apache.batik.css.engine.value

Interface Value

public interface Value

This interface represents a property value.
Method Summary
ValuegetBlue()
The blue value of the RGB color.
ValuegetBottom()
The bottom value of the rect.
StringgetCssText()
A string representation of the current value.
shortgetCssValueType()
A code defining the type of the value.
floatgetFloatValue()
This method is used to get the float value.
ValuegetGreen()
The green value of the RGB color.
StringgetIdentifier()
The identifier value of the counter.
ValuegetLeft()
The left value of the rect.
intgetLength()
The number of CSSValues in the list.
StringgetListStyle()
The listStyle value of the counter.
shortgetPrimitiveType()
The type of the value.
ValuegetRed()
The red value of the RGB color.
ValuegetRight()
The right value of the rect.
StringgetSeparator()
The separator value of the counter.
StringgetStringValue()
This method is used to get the string value.
ValuegetTop()
The top value of the rect.
Valueitem(int index)
Used to retrieve a rule by ordinal index.

Method Detail

getBlue

public Value getBlue()
The blue value of the RGB color.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.

getBottom

public Value getBottom()
The bottom value of the rect.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.

getCssText

public String getCssText()
A string representation of the current value.

getCssValueType

public short getCssValueType()
A code defining the type of the value.

getFloatValue

public float getFloatValue()
This method is used to get the float value.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a float value.

getGreen

public Value getGreen()
The green value of the RGB color.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.

getIdentifier

public String getIdentifier()
The identifier value of the counter.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.

getLeft

public Value getLeft()
The left value of the rect.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.

getLength

public int getLength()
The number of CSSValues in the list. The range of valid values of the indices is 0 to length-1 inclusive.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a list value.

getListStyle

public String getListStyle()
The listStyle value of the counter.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.

getPrimitiveType

public short getPrimitiveType()
The type of the value.

getRed

public Value getRed()
The red value of the RGB color.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a RGB color value.

getRight

public Value getRight()
The right value of the rect.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.

getSeparator

public String getSeparator()
The separator value of the counter.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a Counter value.

getStringValue

public String getStringValue()
This method is used to get the string value.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a string value.

getTop

public Value getTop()
The top value of the rect.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.

item

public Value item(int index)
Used to retrieve a rule by ordinal index.

Returns: The style rule at the index position in the list, or null if that is not a valid index.

Throws: DOMException INVALID_ACCESS_ERR: Raised if the value doesn't contain a list value.

Copyright B) 2007 Apache Software Foundation. All Rights Reserved.