|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.pdf.PdfCollection
com.spire.pdf.widget.PdfListWidgetItemCollection
public class PdfListWidgetItemCollection
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 |
---|
public PdfListWidgetItemCollection(PdfChoiceWidgetFieldWidget widgetFieldWidget)
Method Detail |
---|
public PdfListWidgetItem get(int index)
public int add(PdfListWidgetItem widgetItem)
widgetItem
- a object to be added to collection.
public void insert(int index, PdfListWidgetItem widgetItem)
index
- The index.widgetItem
- The item.public void removeAt(int index)
index
- The index.Throws IndexOutOfRange exception if the index is out of bounds.
public void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |