pdflistwidgetitemcollection-ag凯发旗舰厅



com.spire.pdf.widget
class pdflistwidgetitemcollection

java.lang.object
  extended by com.spire.pdf.pdfcollection
      extended by 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.


constructor summary
pdflistwidgetitemcollection(pdfchoicewidgetfieldwidget widgetfieldwidget)
           
 
method summary
 int add(pdflistwidgetitem widgetitem)
          inserts an item at the end of the collection.
 void clear()
          clears the item collection.
 pdflistwidgetitem get(int index)
          gets the at the specified index.
 void insert(int index, pdflistwidgetitem widgetitem)
          inserts the list item at the specified index.
 void removeat(int index)
          removes the element at the specified index.
 
methods inherited from class com.spire.pdf.pdfcollection
getcount, getlist
 
constructor detail

pdflistwidgetitemcollection

public pdflistwidgetitemcollection(pdfchoicewidgetfieldwidget widgetfieldwidget)
method detail

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.


网站地图