public class PDPushButton extends PDButton
acroForm, dictionary, parent| Constructor and Description |
|---|
PDPushButton(PDAcroForm acroForm) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getExportValues()
This will get the export values.
|
List<String> |
getOptions()
This will get the option values - the "Opt" entry.
|
String |
getValueAsString()
Returns a string representation of the "V" entry, or an empty string.
|
void |
setExportValues(List<String> values)
This will set the export values.
|
void |
setOptions(List<String> values)
This will set the options.
|
isPushButton, isRadioButton, setPushButton, setRadioButtonapplyChange, getFieldFlags, getFieldType, getWidget, getWidgets, importFDF, setActions, setWidgetsgetAcroForm, getActions, getAlternateFieldName, getCOSObject, getFullyQualifiedName, getInheritableAttribute, getMappingName, getParent, getPartialName, getV, isNoExport, isReadonly, isRequired, setAlternateFieldName, setFieldFlags, setMappingName, setNoExport, setPartialName, setReadonly, setRequired, toStringpublic PDPushButton(PDAcroForm acroForm)
acroForm - The acroform.PDField.PDField(PDAcroForm)public List<String> getOptions()
PDButtonThe option values are used to define the export values for the field to
getOptions in class PDButtonpublic void setOptions(List<String> values)
PDButtonsetOptions in class PDButtonvalues - List containing all possible options. Supplying null list will remove the Opt entry.PDButton.getOptions()public List<String> getExportValues()
PDButtonThe export values are defined in the field dictionaries /Opt key.
The option values are used to define the export values for the field to
getExportValues in class PDButtonpublic void setExportValues(List<String> values)
PDButtonsetExportValues in class PDButtonvalues - List containing all possible export values. Supplying null or an empty list will remove the Opt entry.PDButton.getExportValues()public String getValueAsString()
PDFieldgetValueAsString in class PDFieldCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.