Package com.dynamicpdf.api
Class ButtonFieldInformation
java.lang.Object
com.dynamicpdf.api.ButtonFieldInformation
Represents information of a button field.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the default value of the button field.Gets the export value.String[]Gets the collection of export value.getName()Gets the name of the button field.getType()Gets the type of the button field, ex: RadioButton, CheckBox etc.getValue()Gets the value of the button field.voidsetDefaultValue(String value)Sets the default value of the button field.voidsetExportValue(String value)Sets the export value.voidsetExportValues(String[] value)Sets the collection of export value.voidSets the name of the button field.voidsetType(ButtonFieldType value)sets the type of the button field, ex: RadioButton, CheckBox etc.voidsets the value of the button field.
-
Constructor Details
-
ButtonFieldInformation
public ButtonFieldInformation()
-
-
Method Details
-
getName
Gets the name of the button field.- Returns:
- The name of the form field.
-
setName
Sets the name of the button field.- Parameters:
value- Name of the form field.
-
getType
Gets the type of the button field, ex: RadioButton, CheckBox etc.- Returns:
- The name of the form field.
-
setType
sets the type of the button field, ex: RadioButton, CheckBox etc.- Parameters:
value- Type of the field
-
getValue
Gets the value of the button field.- Returns:
- The value of form field
-
setValue
sets the value of the button field.- Parameters:
value- The value of form field
-
getDefaultValue
Gets the default value of the button field.- Returns:
- The Default value of the form field.
-
setDefaultValue
Sets the default value of the button field.- Parameters:
value- The default value of the form field.
-
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
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
Gets the collection of export value.- Returns:
- The exportValues array of the form field.
-
setExportValues
Sets the collection of export value.- Parameters:
value- The exportValues array of the form field.
-