| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | PDPushButton(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 |
|---|---|
| pack-priv void | constructAppearances()
Overrides org. Constructs appearance streams and appearance dictionaries for all widget annotations. |
| public String | getDefaultValue()
Overrides org. Returns the default value, if any. |
| public List | getExportValues()
Overrides org. This will get the (optional) export values. |
| public Set | getOnValues()
Overrides org. Get the values to set individual buttons within a group to the on state. |
| public String | getValue()
Overrides org. Returns the selected value. |
| public String | getValueAsString()
Overrides org. Returns a string representation of the "V" entry, or an empty string. |
| public void | setExportValues(List<String>
List containing all possible export values. Supplying null or an empty list will remove the Opt entry. values)Overrides org. This will set the export values. |
| PDPushButton | back to summary |
|---|---|
public PDPushButton(PDAcroForm acroForm)
| |
| PDPushButton | back to summary |
|---|---|
| pack-priv PDPushButton(PDAcroForm acroForm, COSDictionary field, PDNonTerminalField parent) Constructor.
| |
| constructAppearances | back to summary |
|---|---|
| pack-priv void constructAppearances() throws IOException Overrides org. Doc from org. Constructs appearance streams and appearance dictionaries for all widget annotations.
Subclasses should not call this method directly but via
| |
| getDefaultValue | back to summary |
|---|---|
| public String getDefaultValue() Overrides org. Doc from org. Returns the default value, if any. | |
| getExportValues | back to summary |
|---|---|
| public List Overrides org. Doc from org. This will get the (optional) export values. The export values are defined in the field dictionaries /Opt key. The option values are used to define the export values for the field to
| |
| getOnValues | back to summary |
|---|---|
| public Set Overrides org. Doc from org. Get the values to set individual buttons within a group to the on state. The On value could be an arbitrary string as long as it is within the limitations of a PDF name object. The Off value shall always be 'Off'. If not set or not part of the normal appearance keys 'Off' is the default | |
| getValue | back to summary |
|---|---|
| public String getValue() Overrides org. Doc from org. Returns the selected value. Off is the default value which will also be returned if the value hasn't been set at all. | |
| getValueAsString | back to summary |
|---|---|
| public String getValueAsString() Overrides org. Doc from org. Returns a string representation of the "V" entry, or an empty string. | |
| setExportValues | back to summary |
|---|---|
| public void setExportValues(List<String> values) Overrides org. Doc from org. This will set the export values. | |