public class PDPushButton extends PDButton
| Constructor and Description |
|---|
PDPushButton(PDAcroForm acroForm) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue()
Returns the default value, if any.
|
List<String> |
getExportValues()
This will get the export values.
|
String |
getValue()
Returns the selected value.
|
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.
|
getOnValues, isPushButton, isRadioButton, setDefaultValue, setPushButton, setRadioButton, setValueapplyChange, getFieldFlags, getFieldType, getWidget, getWidgets, importFDF, setActions, setWidgetsgetAcroForm, getActions, getAlternateFieldName, getCOSObject, getFullyQualifiedName, getInheritableAttribute, getMappingName, getParent, getPartialName, isNoExport, isReadOnly, isRequired, setAlternateFieldName, setFieldFlags, setMappingName, setNoExport, setPartialName, setReadOnly, setRequired, toStringpublic PDPushButton(PDAcroForm acroForm)
acroForm - The acroform.PDField.PDField(PDAcroForm)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 getValue()
PDButtonpublic String getDefaultValue()
PDButtongetDefaultValue in class PDButtonpublic String getValueAsString()
PDFieldgetValueAsString in class PDButtonCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.