public class CSSValueList extends CSSValue implements com.aspose.html.internal.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_LIST
PropertyChanged
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.html.internal.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.html.internal.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) |
CSSValue |
get_Item(int index)
Gets the
CSSValue at the specified index. |
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.html.internal.ms.System.Collections.Generic.IGenericEnumerator<CSSValue> |
iterator()
Returns an enumerator that iterates through the collection.
|
void |
setCSSText(String value)
A string representation of the current value.
|
equals, getCSSValueType, hashCode, op_Equality, op_Inequality, toString
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
forEach, spliterator
public CSSValueList()
Initializes a new instance of the CSSValueList
class.
public CSSValueList(com.aspose.html.internal.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.html.internal.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 String getCSSText()
A string representation of the current value.
Value: The CSS text.getCSSText
in class CSSValue
public void setCSSText(String value)
A string representation of the current value.
Value: The CSS text.setCSSText
in class CSSValue
public int getLength()
The number of CSSValues in the list.
getLength
in interface ICSSValueList
public CSSValue get_Item(int index)
Gets the CSSValue
at the specified index.
get_Item
in interface IDOMCollectionIndexer<CSSValue>
get_Item
in interface ICSSValueList
index
- The index.
Value:
The CSSValue
.public boolean isCommaSeparatedList()
Flag which controls separator used during serialization.
public com.aspose.html.internal.ms.System.Collections.Generic.IGenericEnumerator<CSSValue> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.html.internal.ms.System.Collections.Generic.IGenericEnumerable<CSSValue>
iterator
in interface com.aspose.html.internal.ms.System.Collections.IEnumerable<CSSValue>
iterator
in interface Iterable<CSSValue>
System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.