| Modifier and Type | Method and Description |
|---|---|
ChoiceItem |
addNewItem(java.lang.String displayName)
Creates a new choice item.
|
static ChoiceField |
createDynamicObject(long handle) |
ChoiceItemList |
getItems()
The list of choice items (Getter)
|
addNewWidget, getDoNotExport, getReadOnly, getRequired, getWidgets, setDoNotExport, setReadOnly, setRequiredcopy, getDisplayName, getExportName, setDisplayName, setExportNameequals, hashCodepublic static ChoiceField createDynamicObject(long handle)
public ChoiceItem addNewItem(java.lang.String displayName)
getItems().displayName - this item's display namejava.lang.IllegalStateException - if the object has already been closedjava.lang.IllegalStateException - if the form field has widgetsjava.lang.UnsupportedOperationException - the document is read-onlypublic ChoiceItemList getItems()
java.lang.IllegalStateException - if the object has already been closed