|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.pageelements.forms.ChoiceItemList
public class ChoiceItemList
Represents the ChoiceItemList which holds the item of choice field of interactive forms.
Licensing:
This class is a DynamicPDF Generator Enterprise Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
ChoiceItemList()
|
Method Summary | |
---|---|
ChoiceItem |
add(java.lang.String itemName)
Adds the item to the list. |
ChoiceItem |
add(java.lang.String itemName,
boolean selected)
Adds the item to the list. |
ChoiceItem |
add(java.lang.String itemName,
java.lang.String exportValue)
Adds the item to the list. |
ChoiceItem |
add(java.lang.String itemName,
java.lang.String exportValue,
boolean selected)
Adds the item to the list. |
ChoiceItem |
getChoiceItem(int index)
Gets the ChoiceItem from the list with a given index. |
ChoiceItem |
getChoiceItem(java.lang.String itemName)
Gets the ChoiceItem from the list with the given item name. |
void |
remove(int index)
Removes the item from the list. |
int |
size()
Gets the number of items available in the item list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChoiceItemList()
Method Detail |
---|
public ChoiceItem add(java.lang.String itemName)
itemName
- ItemName to be added to the list.
public ChoiceItem add(java.lang.String itemName, java.lang.String exportValue)
itemName
- ItemName to be added to the list.exportValue
- ExportValue for the item.
public ChoiceItem add(java.lang.String itemName, boolean selected)
itemName
- ItemName to be added to the list.selected
- The item to be selected.
public ChoiceItem add(java.lang.String itemName, java.lang.String exportValue, boolean selected)
itemName
- ItemName to be added to the list.exportValue
- ExportValue for the item.selected
- The item to be selected.
public int size()
public ChoiceItem getChoiceItem(int index)
ChoiceItem
from the list with a given index.
index
- Item index in the list.
public ChoiceItem getChoiceItem(java.lang.String itemName)
ChoiceItem
from the list with the given item name.
itemName
- Item name in the list.
public void remove(int index)
index
- Item index to be removed from the list.
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |