com.aspose.words

Class SdtListItemCollection

  • java.lang.Object
    • 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()
void
           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.Iterator<SdtListItem>iterator()
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<SdtListItem> 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.