COSObjectable
PDCheckbox
, PDRadioCollection
public abstract class PDChoiceButton extends PDField
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED
Constructor | Description |
---|---|
PDChoiceButton(PDAcroForm theAcroForm,
COSDictionary field) |
Modifier and Type | Method | Description |
---|---|---|
java.util.List |
getOptions() |
This will get the option values "Opt" entry of the pdf button.
|
void |
setOptions(java.util.List options) |
This will will set the list of options for this button.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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(PDAcroForm,org.apache.pdfbox.cos.COSDictionary)
public java.util.List getOptions()
public void setOptions(java.util.List options)
options
- The list of options for the button.