com.spire.doc.collections
Class DropDownCollection

java.lang.Object
  extended by com.spire.doc.OwnerHolder
      extended by com.spire.doc.collections.CollectionEx
          extended by com.spire.doc.documents.xml.DocumentSerializableCollection
              extended by com.spire.doc.collections.DropDownCollection
All Implemented Interfaces:
IXDLSSerializableCollection, java.lang.Iterable

public class DropDownCollection
extends DocumentSerializableCollection

Represent a collection of objects.


Constructor Summary
DropDownCollection(Document doc)
          Initializes a new instance of the class.
 
Method Summary
 DropDownItem add(java.lang.String text)
          Adds the item.
 void clear()
          Clears this instance.
 DropDownItem get(int index)
          Gets the at the specified index.
 void remove(int index)
          Removes DropDownItems by index.
 
Methods inherited from class com.spire.doc.collections.CollectionEx
getCount, iterator
 
Methods inherited from class com.spire.doc.OwnerHolder
getDocument
 
Methods inherited from interface com.spire.doc.interfaces.IXDLSSerializableCollection
addNewItem, getCount, getTagItemNameEx
 

Constructor Detail

DropDownCollection

public DropDownCollection(Document doc)
Initializes a new instance of the class.

Parameters:
doc - The doc.
Method Detail

get

public DropDownItem get(int index)
Gets the at the specified index.

Parameters:
index -
Returns:

add

public DropDownItem add(java.lang.String text)
Adds the item.

Parameters:
text - The text.
Returns:

remove

public void remove(int index)
Removes DropDownItems by index.

Parameters:
index - The index.

clear

public void clear()
Clears this instance.

Overrides:
clear in class CollectionEx