Class PDChoiceButton
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.form.PDField
org.apache.pdfbox.pdmodel.interactive.form.PDChoiceButton
- All Implemented Interfaces:
COSObjectable
- Direct Known Subclasses:
PDCheckbox
,PDRadioCollection
This holds common functionality for check boxes and radio buttons.
- Version:
- $Revision: 1.4 $
- Author:
- sug
-
Field Summary
Fields inherited from class org.apache.pdfbox.pdmodel.interactive.form.PDField
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis will get the option values "Opt" entry of the pdf button.void
setOptions
(List options) This will will set the list of options for this button.Methods inherited from class org.apache.pdfbox.pdmodel.interactive.form.PDField
findFieldType, findKid, getAcroForm, getActions, getAlternateFieldName, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getValue, getWidget, getWidgets, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setAlternateFieldName, setFieldFlags, setFieldType, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired, setValue, toString
-
Constructor Details
-
PDChoiceButton
- Parameters:
theAcroForm
- The acroForm for this field.field
- The field for this button.- See Also:
-
-
Method Details
-
getOptions
This will get the option values "Opt" entry of the pdf button.- Returns:
- A list of java.lang.String values.
-
setOptions
This will will set the list of options for this button.- Parameters:
options
- The list of options for the button.
-