Package com.dynamicpdf.api
Class ChoiceFieldInformation
java.lang.Object
com.dynamicpdf.api.ChoiceFieldInformation
Represents the information of a choice field in interactive forms.
A choice field contains several text items,
one or more of which may be selected as the field value.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the default value of the choice field.Gets the export value.String[]
Gets the collection of export values of the items present in the choice field.String[]
getItems()
Gets the collection of items.getName()
Gets the name of the choice field.getType()
Gets theChoiceFieldType
.getValue()
Gets the value of the choice field.void
setDefaultValue(String value)
Sets the default value of the choice field.void
setExportValue(String value)
Sets the export value.void
setItemExportValues(String[] value)
Sets the collection of export values of the items present in the choice field.void
Sets the collection of items.void
Sets the name of the choice field.void
setType(ChoiceFieldType value)
Sets theChoiceFieldType
.void
sets the value of the choice field.
-
Constructor Details
-
ChoiceFieldInformation
public ChoiceFieldInformation()
-
-
Method Details
-
getName
Gets the name of the choice field.- Returns:
- The name of the form field.
-
setName
Sets the name of the choice field.- Parameters:
value
- The name of the form field.
-
getType
Gets theChoiceFieldType
. ex: ListBox, ComboBox etc.- Returns:
- The type of the form field.
-
setType
Sets theChoiceFieldType
. ex: ListBox, ComboBox etc.- Parameters:
value
- The type of the form field.
-
getValue
Gets the value of the choice field.- Returns:
- The value of the form field.
-
setValue
sets the value of the choice field.- Parameters:
value
- The value of the form field.
-
getDefaultValue
Gets the default value of the choice field.- Returns:
- The Default value of the form field.
-
setDefaultValue
Sets the default value of the choice field.- Parameters:
value
- The Default value of the form field.
-
getExportValue
Gets the export value.- Returns:
- The export value of the form field.
-
setExportValue
Sets the export value.- Parameters:
value
- The export value of the form field.
-
getItems
Gets the collection of items.- Returns:
- The collection of items in the form field.
-
setItems
Sets the collection of items.- Parameters:
value
- The collection of items for the form field.
-
getItemExportValues
Gets the collection of export values of the items present in the choice field.- Returns:
- The collection of export values of the items in the form field.
-
setItemExportValues
Sets the collection of export values of the items present in the choice field.- Parameters:
value
- The collection of export values of the items for the form field.
-