Class ChoiceFieldInformation

java.lang.Object
com.dynamicpdf.api.ChoiceFieldInformation

public class ChoiceFieldInformation extends Object
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 Details

    • ChoiceFieldInformation

      public ChoiceFieldInformation()
  • Method Details

    • getName

      public String getName()
      Gets the name of the choice field.
      Returns:
      The name of the form field.
    • setName

      public void setName(String value)
      Sets the name of the choice field.
      Parameters:
      value - The name of the form field.
    • getType

      public ChoiceFieldType getType()
      Gets the ChoiceFieldType . ex: ListBox, ComboBox etc.
      Returns:
      The type of the form field.
    • setType

      public void setType(ChoiceFieldType value)
      Sets the ChoiceFieldType . ex: ListBox, ComboBox etc.
      Parameters:
      value - The type of the form field.
    • getValue

      public String getValue()
      Gets the value of the choice field.
      Returns:
      The value of the form field.
    • setValue

      public void setValue(String value)
      sets the value of the choice field.
      Parameters:
      value - The value of the form field.
    • getDefaultValue

      public String getDefaultValue()
      Gets the default value of the choice field.
      Returns:
      The Default value of the form field.
    • setDefaultValue

      public void setDefaultValue(String value)
      Sets the default value of the choice field.
      Parameters:
      value - The Default value of the form field.
    • getExportValue

      public String getExportValue()
      Gets the export value.
      Returns:
      The export value of the form field.
    • setExportValue

      public void setExportValue(String value)
      Sets the export value.
      Parameters:
      value - The export value of the form field.
    • getItems

      public String[] getItems()
      Gets the collection of items.
      Returns:
      The collection of items in the form field.
    • setItems

      public void setItems(String[] value)
      Sets the collection of items.
      Parameters:
      value - The collection of items for the form field.
    • getItemExportValues

      public String[] 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

      public void setItemExportValues(String[] value)
      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.