COSObjectablepublic class PDPushButton extends PDButton
| Constructor | Description |
|---|---|
PDPushButton(PDAcroForm acroForm) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getDefaultValue() |
Returns the default value, if any.
|
java.util.List<java.lang.String> |
getExportValues() |
This will get the (optional) export values.
|
java.lang.String |
getValue() |
Returns the selected value.
|
java.lang.String |
getValueAsString() |
Returns a string representation of the "V" entry, or an empty string.
|
void |
setExportValues(java.util.List<java.lang.String> values) |
This will set the export values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOnValues, isPushButton, isRadioButton, setDefaultValue, setPushButton, setRadioButton, setValuegetAcroForm, getActions, getAlternateFieldName, getCOSObject, getFullyQualifiedName, getInheritableAttribute, getMappingName, getParent, getPartialName, isNoExport, isReadOnly, isRequired, setAlternateFieldName, setFieldFlags, setMappingName, setNoExport, setPartialName, setReadOnly, setRequired, toStringapplyChange, getFieldFlags, getFieldType, getWidget, getWidgets, importFDF, setActions, setWidgetspublic PDPushButton(PDAcroForm acroForm)
acroForm - The acroform.PDField(PDAcroForm)public java.util.List<java.lang.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 PDButtonPDButton.getOnValues()public void setExportValues(java.util.List<java.lang.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 java.lang.String getValue()
PDButtonpublic java.lang.String getDefaultValue()
PDButtongetDefaultValue in class PDButtonpublic java.lang.String getValueAsString()
PDFieldgetValueAsString in class PDButtonCopyright © 2002–2018. All rights reserved.