dropdowncollection-ag凯发旗舰厅



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 dropdownitem objects.


constructor summary
dropdowncollection(document doc)
          initializes a new instance of the dropdowncollection class.
 
method summary
 dropdownitem add(java.lang.string text)
          adds the item.
 void clear()
          clears this instance.
 dropdownitem get(int index)
          gets the dropdownitem 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 dropdowncollection class.
parameters:
doc - the doc
method detail

get

public dropdownitem get(int index)
gets the dropdownitem at the specified index.
parameters:
index - index
returns:
dropdownitem object

add

public dropdownitem add(java.lang.string text)
adds the item.
parameters:
text - the text.
returns:
dropdownitem object

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


网站地图