| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | PDCheckBox(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 void | |
| public String | Returns: the value setting the check box to the On state. If an empty string is returned there is no appearance definition.Get the value which sets the check box to the On state. |
| public boolean | Returns: true If this field is checked.This will tell if this radio button is currently checked or not. |
| public void |
| PDCheckBox | back to summary |
|---|---|
public PDCheckBox(PDAcroForm acroForm)
| |
| PDCheckBox | back to summary |
|---|---|
| pack-priv PDCheckBox(PDAcroForm acroForm, COSDictionary field, PDNonTerminalField parent) Constructor.
| |
| check | back to summary |
|---|---|
| public void check() throws IOException Checks the check box.
| |
| getOnValue | back to summary |
|---|---|
| public String getOnValue() Get the value which sets the check box to the On state. The On value should be 'Yes' but other values are possible so we need to look for that. On the other hand the Off value shall always be 'Off'. If not set or not part of the normal appearance keys 'Off' is the default
| |
| isChecked | back to summary |
|---|---|
| public boolean isChecked() This will tell if this radio button is currently checked or not.
This is equivalent to calling
| |
| unCheck | back to summary |
|---|---|
| public void unCheck() throws IOException Unchecks the check box.
| |