public final class PDComboBox extends PDChoice
Modifier and Type | Field and Description |
---|---|
private static int |
FLAG_EDIT |
FLAG_COMBO
QUADDING_CENTERED, QUADDING_LEFT, QUADDING_RIGHT
Constructor and Description |
---|
PDComboBox(PDAcroForm acroForm) |
PDComboBox(PDAcroForm acroForm,
COSDictionary field,
PDNonTerminalField parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
constructAppearances()
Constructs appearance streams and appearance dictionaries for all widget annotations.
|
boolean |
isEdit()
Determines if Edit is set.
|
void |
setEdit(boolean edit)
Set the Edit bit.
|
getDefaultValue, getOptions, getOptionsDisplayValues, getOptionsExportValues, getSelectedOptionsIndex, getValue, getValueAsString, isCombo, isCommitOnSelChange, isDoNotSpellCheck, isMultiSelect, isSort, setCombo, setCommitOnSelChange, setDefaultValue, setDoNotSpellCheck, setMultiSelect, setOptions, setOptions, setSelectedOptionsIndex, setSort, setValue, setValue
getDefaultAppearance, getDefaultAppearanceString, getDefaultStyleString, getQ, getRichTextValue, getStringOrStream, setDefaultAppearance, setDefaultStyleString, setQ, setRichTextValue
applyChange, exportFDF, getFieldFlags, getFieldType, getWidget, getWidgets, importFDF, setActions, setWidgets
findKid, fromDictionary, getAcroForm, getActions, getAlternateFieldName, getCOSObject, getFullyQualifiedName, getInheritableAttribute, getMappingName, getParent, getPartialName, isNoExport, isReadOnly, isRequired, setAlternateFieldName, setFieldFlags, setMappingName, setNoExport, setPartialName, setReadOnly, setRequired, toString
private static final int FLAG_EDIT
public PDComboBox(PDAcroForm acroForm)
acroForm
- The acroform.PDField.PDField(PDAcroForm)
PDComboBox(PDAcroForm acroForm, COSDictionary field, PDNonTerminalField parent)
acroForm
- The form that this field is part of.field
- the PDF object to represent as a field.parent
- the parent node of the nodepublic boolean isEdit()
public void setEdit(boolean edit)
edit
- The value for Edit.void constructAppearances() throws java.io.IOException
PDTerminalField
PDTerminalField.applyChange()
.constructAppearances
in class PDChoice
java.io.IOException
- if the appearance couldn't be generated