public class CSSValueList extends CSSValue implements com.aspose.ms.System.Collections.Generic.IGenericEnumerable<CSSValue>, ICSSValueList
The CSSValueList interface provides the abstraction of an ordered collection of CSS values.
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LISTPropertyChanged, PropertyChangedDelegate| Constructor and Description |
|---|
CSSValueList()
Initializes a new instance of the
CSSValueList class. |
CSSValueList(boolean isCommaSeparatedList)
Initializes a new instance of the
CSSValueList class. |
CSSValueList(boolean isCommaSeparatedList,
CSSValue... values)
Initializes a new instance of the
CSSValueList class. |
CSSValueList(boolean isCommaSeparatedList,
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<CSSValue> values)
Initializes a new instance of the
CSSValueList class. |
CSSValueList(CSSValue... values)
Initializes a new instance of the
CSSValueList class. |
CSSValueList(com.aspose.ms.System.Collections.Generic.IGenericEnumerable<CSSValue> values)
Initializes a new instance of the
CSSValueList class. |
| Modifier and Type | Method and Description |
|---|---|
void |
add(CSSValue value) |
protected boolean |
equals(CSSValue obj)
Determines whether the specified object is equal to this instance.
|
CSSValue |
get_Item(int index)
Gets the
CSSValue at the specified index. |
java.lang.String |
getCSSText()
A string representation of the current value.
|
int |
getLength()
The number of CSSValues in the list.
|
boolean |
isCommaSeparatedList()
Flag which controls separator used during serialization.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<CSSValue> |
iterator()
Returns an enumerator that iterates through the collection.
|
void |
setCSSText(java.lang.String value)
A string representation of the current value.
|
equals, getCSSValueType, hashCode, op_Equality, op_Inequality, toStringfireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBindingpublic CSSValueList()
Initializes a new instance of the CSSValueList class.
public CSSValueList(com.aspose.ms.System.Collections.Generic.IGenericEnumerable<CSSValue> values)
Initializes a new instance of the CSSValueList class.
values - The values.public CSSValueList(CSSValue... values)
Initializes a new instance of the CSSValueList class.
values - The values.public CSSValueList(boolean isCommaSeparatedList)
Initializes a new instance of the CSSValueList class.
isCommaSeparatedList - Flag which controls separator used during serialization.public CSSValueList(boolean isCommaSeparatedList,
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<CSSValue> values)
Initializes a new instance of the CSSValueList class.
isCommaSeparatedList - Flag which controls separator used during serialization.values - The values.public CSSValueList(boolean isCommaSeparatedList,
CSSValue... values)
Initializes a new instance of the CSSValueList class.
isCommaSeparatedList - Flag which controls separator used during serialization.values - The values.public void add(CSSValue value)
public java.lang.String getCSSText()
A string representation of the current value.
Value: The CSS text.getCSSText in class CSSValuepublic void setCSSText(java.lang.String value)
A string representation of the current value.
Value: The CSS text.setCSSText in class CSSValuepublic int getLength()
The number of CSSValues in the list.
getLength in interface ICSSValueListpublic CSSValue get_Item(int index)
Gets the CSSValue at the specified index.
get_Item in interface IDOMCollectionIndexer<CSSValue>get_Item in interface ICSSValueListindex - The index.
Value:
The CSSValue.public boolean isCommaSeparatedList()
Flag which controls separator used during serialization.
public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<CSSValue> iterator()
Returns an enumerator that iterates through the collection.
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<CSSValue>iterator in interface com.aspose.ms.System.Collections.IEnumerable<CSSValue>iterator in interface java.lang.Iterable<CSSValue>System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.