public class AcroRadioButtonGroupField extends AcroButtonField
interactive forms.
Refer to AcroButtonField and AcroFormField for overview documentation.BUTTON_TYPE_CHECKBOX, BUTTON_TYPE_PUSHBUTTON, BUTTON_TYPE_RADIO_GROUP, DEFAULT_UNSELECTED_VALUEFIELD_TYPE_BUTTON, FIELD_TYPE_CHOICE, FIELD_TYPE_OTHER, FIELD_TYPE_SIGNATURE, FIELD_TYPE_TEXT| Modifier and Type | Method and Description |
|---|---|
boolean |
canChangeValue()
This function always returns true.
|
Set |
getPossibleValues()
Returns a set of the possible values that may be set on this button.
|
boolean |
setValue(String val)
Sets the value of this button field.
|
getButtonType, getExportValue, getExportValues, getValuegetDefaultValue, getFullName, getLocalName, getMappingName, getType, getUIName, hasValueChanged, isReadOnlypageNumberpublic Set getPossibleValues()
public boolean setValue(String val)
AcroRadioButtonGroupField.getPossibleValues() or null (i.e. no buttons in the radio button group should be selected).setValue in interface AcroFormFieldIllegalArgumentException - if a String is provided that is not in the set returned by AcroRadioButtonGroupField.getPossibleValues().public boolean canChangeValue()
canChangeValue in interface AcroFormField