public class OMCSSValueList extends OMCSSValue
Modifier and Type | Field and Description |
---|---|
protected OMCSSValue[] |
items |
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST, cssText, cssValueType
Constructor and Description |
---|
OMCSSValueList(OMCSSValue[] items,
String cssText)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
OMCSSValue |
getItem(int index)
Used to retrieve an
OMCSSValue by ordinal index. |
int |
getLength()
Returns the number of CSSValues in the list.
|
getCssText, getCssValueType, setCssText, toString
protected OMCSSValue[] items
public OMCSSValueList(OMCSSValue[] items, String cssText)
items
- The items in the value listpublic int getLength()
public OMCSSValue getItem(int index)
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.index
- Index into the collection.public String getDescription()
getDescription
in class OMCSSValue
Copyright © 2018. All Rights Reserved.