Class ButtonFieldInformation

java.lang.Object
com.dynamicpdf.api.ButtonFieldInformation

public class ButtonFieldInformation extends Object
Represents information of a button field.
  • Constructor Details

    • ButtonFieldInformation

      public ButtonFieldInformation()
  • Method Details

    • getName

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

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

      public ButtonFieldType getType()
      Gets the type of the button field, ex: RadioButton, CheckBox etc.
      Returns:
      The name of the form field.
    • setType

      public void setType(ButtonFieldType value)
      sets the type of the button field, ex: RadioButton, CheckBox etc.
      Parameters:
      value - Type of the field
    • getValue

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

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

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

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

      public String getExportValue()
      Gets the export value. These values will be exported when submitting the form.

      To create a set of mutually exclusive radio buttons (i.e., where only one can be selected at a time), create the fields with the same name but different export values.

      Returns:
      The Export Value of the form field.
    • setExportValue

      public void setExportValue(String value)
      Sets the export value. These values will be exported when submitting the form.

      To create a set of mutually exclusive radio buttons (i.e., where only one can be selected at a time), create the fields with the same name but different export values.

      Parameters:
      value - The export value of the form field.
    • getExportValues

      public String[] getExportValues()
      Gets the collection of export value.
      Returns:
      The exportValues array of the form field.
    • setExportValues

      public void setExportValues(String[] value)
      Sets the collection of export value.
      Parameters:
      value - The exportValues array of the form field.