public abstract class PDChoiceButton extends PDField
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED
Constructor and Description |
---|
PDChoiceButton(PDAcroForm theAcroForm,
COSDictionary field) |
Modifier and Type | Method and Description |
---|---|
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, 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
public PDChoiceButton(PDAcroForm theAcroForm, COSDictionary field)
theAcroForm
- The acroForm for this field.field
- The field for this button.PDField.PDField(PDAcroForm,org.apache.pdfbox.cos.COSDictionary)
public List getOptions()
public void setOptions(List options)
options
- The list of options for the button.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.