| Modifier and Type | Field and Description |
|---|---|
| private static final int | FLAG_NO_TOGGLE_TO_OFF
A Ff flag. |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | PDRadioButton(PDAcroForm
The form that this field is part of. acroForm, COSDictionary the PDF object to represent as a field. field, PDNonTerminalField the parent node of the node parent)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: the export value of the field.This will get the selected export values. |
| public int | |
| public boolean | |
| public void | setRadiosInUnison(boolean
The new flag for radiosInUnison. radiosInUnison)From the PDF Spec If set, a group of radio buttons within a radio button field that use the same value for the on state will turn on and off in unison; that is if one is checked, they are all checked. |
| FLAG_NO_TOGGLE_TO_OFF | back to summary |
|---|---|
| private static final int FLAG_NO_TOGGLE_TO_OFF A Ff flag. | |
| PDRadioButton | back to summary |
|---|---|
public PDRadioButton(PDAcroForm acroForm)
| |
| PDRadioButton | back to summary |
|---|---|
| pack-priv PDRadioButton(PDAcroForm acroForm, COSDictionary field, PDNonTerminalField parent) Constructor.
| |
| getSelectedExportValues | back to summary |
|---|---|
| public List This will get the selected export values.
A RadioButton might have an export value to allow field values
which can not be encoded as PDFDocEncoding or for the same export value
being assigned to multiple RadioButtons in a group. The method will either return the corresponding values from the options entry or in case there is no such entry the fields value | |
| getSelectedIndex | back to summary |
|---|---|
| public int getSelectedIndex() This will get the selected index.
A RadioButton might have multiple same value options which are not selected jointly if
they are not set in unison The method will return the first selected index or -1 if no option is selected.
| |
| isRadiosInUnison | back to summary |
|---|---|
public boolean isRadiosInUnison()
| |
| setRadiosInUnison | back to summary |
|---|---|
| public void setRadiosInUnison(boolean radiosInUnison) From the PDF Spec
| |