Package com.dynamicpdf.api
Class ButtonFieldInformation
java.lang.Object
com.dynamicpdf.api.ButtonFieldInformation
Represents information of a button field.
-
Constructor Summary
-
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.void
setDefaultValue(String value)
Sets the default value of the button field.void
setExportValue(String value)
Sets the export value.void
setExportValues(String[] value)
Sets the collection of export value.void
Sets the name of the button field.void
setType(ButtonFieldType value)
sets the type of the button field, ex: RadioButton, CheckBox etc.void
sets 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.
-