org.kde.koala
Class CSSValueList

java.lang.Object
  extended by org.kde.koala.CSSValue
      extended by org.kde.koala.CSSValueList
All Implemented Interfaces:
org.kde.qt.QtSupport

public class CSSValueList
extends CSSValue

The CSSValueList interface provides the absraction of an ordered collection of CSS values.


Constructor Summary
  CSSValueList()
           
protected CSSValueList(java.lang.Class dummy)
           
  CSSValueList(CSSValue other)
           
  CSSValueList(CSSValueList other)
           
 
Method Summary
 CSSValue item(long index)
          Used to retrieve a CSS rule by ordinal index.
 long length()
          The number of CSSValue s in the list.
 
Methods inherited from class org.kde.koala.CSSValue
cssText, cssValueType, isCSSPrimitiveValue, isCSSValueList, isNull, setCssText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSSValueList

protected CSSValueList(java.lang.Class dummy)

CSSValueList

public CSSValueList()

CSSValueList

public CSSValueList(CSSValueList other)

CSSValueList

public CSSValueList(CSSValue other)
Method Detail

length

public long length()
The number of CSSValue s in the list. The range of valid values indices is 0 to length-1 inclusive.


item

public CSSValue item(long index)
Used to retrieve a CSS rule by ordinal index. The order in this collection represents the order of the values in the CSS style property.

Parameters:
index - Index into the collection.
Returns:
The style rule at the index position in the CSSValueList , or null if that is not valid index.