org.pdfbox.pdmodel.interactive.form
Class PDChoiceButton
- COSObjectable
public abstract class PDChoiceButton
This holds common functionality for check boxes and radio buttons.
List | getOptions()- This 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.
|
findFieldType, findKid, getAcroForm, getActions, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getValue, getWidget, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setFieldFlags, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired, setValue, toString |
PDChoiceButton
public PDChoiceButton(PDAcroForm theAcroForm,
COSDictionary field)theAcroForm - The acroForm for this field.field - The field for this button.
getOptions
public List getOptions()
This will get the option values "Opt" entry of the pdf button.
- A list of java.lang.String values.
setOptions
public void setOptions(List options)
This will will set the list of options for this button.
options - The list of options for the button.