com.aspose.words
Class SdtListItemCollection

java.lang.Object
    extended by com.aspose.words.SdtListItemCollection
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable

public class SdtListItemCollection 
extends java.lang.Object

Provides access to SdtListItem elements of a structured document tag.

Property Getters/Setters Summary
intgetCount()
           Gets number of items in the collection.
SdtListItemgetSelectedValue()
voidsetSelectedValue(SdtListItem value)
           Specifies currently selected value in this list. Null value allowed, meaning that no currently selected entry is associated with this list item collection.
SdtListItemget(int index)
           Returns a SdtListItem object given its zero-based index in the collection.
 
Method Summary
voidadd(SdtListItem item)
           Adds an item to this collection.
voidclear()
           Clears all items from this collection.
java.util.Iteratoriterator()
           Returns an iterator object that can be used to iterate over all items in the collection.
voidremoveAt(int index)
           Removes a list item at the specified index.
 

Property Getters/Setters Detail

getCount

public int getCount()
Gets number of items in the collection.

getSelectedValue/setSelectedValue

public SdtListItem getSelectedValue() / public void setSelectedValue(SdtListItem value)
Specifies currently selected value in this list. Null value allowed, meaning that no currently selected entry is associated with this list item collection.

get

public SdtListItem get(int index)
Returns a SdtListItem object given its zero-based index in the collection.

Method Detail

add

public void add(SdtListItem item)
Adds an item to this collection.

clear

public void clear()
Clears all items from this collection.

iterator

public java.util.Iterator iterator()
Returns an iterator object that can be used to iterate over all items in the collection.

removeAt

public void removeAt(int index)
Removes a list item at the specified index.
Parameters:
index - The zero-based index of the item to remove.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.