pdflistwidgetitemcollection-ag凯发旗舰厅
com.spire.pdf.widget
class pdflistwidgetitemcollection
java.lang.object
com.spire.pdf.pdfcollection
com.spire.pdf.widget.pdflistwidgetitemcollection
- all implemented interfaces:
- com.spire.ms.system.collections.ienumerable, java.lang.iterable
public class pdflistwidgetitemcollection
- extends pdfcollection
represents a collection of list box field items.
pdflistwidgetitemcollection
public pdflistwidgetitemcollection(pdfchoicewidgetfieldwidget widgetfieldwidget)
get
public pdflistwidgetitem get(int index)
- gets the at the specified index.
add
public int add(pdflistwidgetitem widgetitem)
- inserts an item at the end of the collection.
- parameters:
widgetitem
- a object to be added to collection.
- returns:
- the index of item.
insert
public void insert(int index,
pdflistwidgetitem widgetitem)
- inserts the list item at the specified index.
- parameters:
index
- the index.widgetitem
- the item.
removeat
public void removeat(int index)
- removes the element at the specified index.
- parameters:
index
- the index.- see also:
throws indexoutofrange exception if the index is out of bounds.
clear
public void clear()
- clears the item collection.