org.vectomatic.dom.svg
Class OMCSSValueList
java.lang.Object
org.vectomatic.dom.svg.OMCSSValue
org.vectomatic.dom.svg.OMCSSValueList
public class OMCSSValueList
- extends OMCSSValue
Class for a CSS value list
- Author:
- laaglu
items
protected OMCSSValue[] items
OMCSSValueList
public OMCSSValueList(OMCSSValue[] items,
String cssText)
- Constructor
- Parameters:
items
- The items in the value list
getLength
public int getLength()
- Returns the number of CSSValues in the list. The range of valid
values of the indices is 0 to length-1 inclusive.
- Returns:
- The number of CSSValues in the list.
getItem
public OMCSSValue getItem(int index)
- Used to retrieve an
OMCSSValue
by ordinal index.
The order in this collection represents the order of the values
in the CSS style property. If index is greater than or equal to
the number of values in the list, this returns null.
- Parameters:
index
- Index into the collection.
- Returns:
- an OMCSSValue
getDescription
public String getDescription()
- Specified by:
getDescription
in class OMCSSValue
Copyright © 2012. All Rights Reserved.