org.pdfbox.pdmodel.interactive.form
Class PDChoiceField
- COSObjectable
public class PDChoiceField
A class for handling the PDF field as a choicefield.
doNotScroll, doNotSpellCheck, getDefaultAppearance, getQ, getValue, isFileSelect, isMultiline, isPassword, isRichText, setComb, setDoNotScroll, setDoNotSpellCheck, setFileSelect, setMultiline, setPassword, setQ, setRichText, setValue, shouldComb |
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 |
PDChoiceField
public PDChoiceField(PDAcroForm theAcroForm,
COSDictionary field)theAcroForm - The acroForm for this field.field - The field for this choice field.
setValue
public void setValue(String optionValue)
throws IOException- setValue in interface PDVariableText
optionValue - The new value for this text field.
org.pdfbox.pdmodel.interactive.form.PDField.setValue(java.lang.String)