public abstract class PDButton extends PDTerminalField
acroForm, dictionary, parent| Constructor and Description |
|---|
PDButton(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.
|
boolean |
isPushButton()
Determines if push button bit is set.
|
boolean |
isRadioButton()
Determines if radio button bit is set.
|
void |
setExportValues(List<String> values)
This will set the export values.
|
void |
setOptions(List<String> values)
This will set the options.
|
void |
setPushButton(boolean pushbutton)
Set the push button bit.
|
void |
setRadioButton(boolean radiobutton)
Set the radio button bit.
|
applyChange, getFieldFlags, getFieldType, getWidget, getWidgets, importFDF, setActions, setWidgetsgetAcroForm, getActions, getAlternateFieldName, getCOSObject, getFullyQualifiedName, getInheritableAttribute, getMappingName, getParent, getPartialName, getV, getValueAsString, isNoExport, isReadonly, isRequired, setAlternateFieldName, setFieldFlags, setMappingName, setNoExport, setPartialName, setReadonly, setRequired, toStringpublic PDButton(PDAcroForm acroForm)
acroForm - The acroform.PDField.PDField(PDAcroForm)public boolean isPushButton()
public void setPushButton(boolean pushbutton)
pushbutton - if true the button field is treated as a push button field.public boolean isRadioButton()
public void setRadioButton(boolean radiobutton)
radiobutton - if true the button field is treated as a radio button field.public List<String> getOptions()
The option values are used to define the export values for the field to
public void setOptions(List<String> values)
values - List containing all possible options. Supplying null list will remove the Opt entry.getOptions()public List<String> getExportValues()
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
public void setExportValues(List<String> values)
values - List containing all possible export values. Supplying null or an empty list will remove the Opt entry.getExportValues()Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.