public class SdtListItemCollection
extends java.lang.Object
implements java.lang.Cloneable, java.lang.Iterable
SdtListItem elements of a structured document tag.
To learn more, visit the Structured Document Tags or Content Control documentation article.
| Modifier and Type | Method and Description |
|---|---|
void |
add(SdtListItem item)
Adds an item to this collection.
|
void |
clear()
Clears all items from this collection.
|
SdtListItem |
get(int index)
Returns a
SdtListItem object given its zero-based index in the collection. |
int |
getCount()
Gets number of items in the collection.
|
SdtListItem |
getSelectedValue()
Specifies currently selected value in this list.
|
java.util.Iterator |
iterator()
Returns an iterator object that can be used to iterate over all items in the collection.
|
protected java.lang.Object |
memberwiseClone() |
void |
removeAt(int index)
Removes a list item at the specified index.
|
void |
setSelectedValue(SdtListItem value)
Specifies currently selected value in this list.
|
public java.util.Iterator iterator()
iterator in interface java.lang.Iterablepublic void add(SdtListItem item)
public void removeAt(int index)
index - The zero-based index of the item to remove.public void clear()
public SdtListItem getSelectedValue()
SdtListItem value.public void setSelectedValue(SdtListItem value)
value - The corresponding SdtListItem value.public SdtListItem get(int index)
SdtListItem object given its zero-based index in the collection.SdtListItem object given its zero-based index in the collection.public int getCount()
protected java.lang.Object memberwiseClone()