Uses of Class
org.sejda.sambox.pdmodel.interactive.form.PDField
Packages that use PDField
Package
Description
The interactive package contains classes for handling Interactive Forms, also known as "AcroForms".
-
Uses of PDField in org.sejda.sambox.pdmodel.interactive.form
Subclasses of PDField in org.sejda.sambox.pdmodel.interactive.formModifier and TypeClassDescriptionclassA button field represents an interactive control on the screen that the user can manipulate with the mouse.final classA check box toggles between two states, on and off.classA choice field contains several text items, one or more of which shall be selected as the field value.final classA combo box consisting of a drop-down list.final classA scrollable list box.classA non terminal field in an interactive form.classA pushbutton is a purely interactive control that responds immediately to user input without retaining a permanent value.final classRadio button fields contain a set of related buttons that can each be on or off.classA signature field is a form field that contains a digital signature.classA field in an interactive form.final classA text field is a box or space for text fill-in data typically entered from a keyboard.classBase class for fields which use "Variable Text".Methods in org.sejda.sambox.pdmodel.interactive.form that return PDFieldModifier and TypeMethodDescriptionstatic PDFieldPDFieldFactory.createField(PDAcroForm form, COSDictionary field, PDNonTerminalField parent) Creates aPDFieldsubclass from the given field.static PDFieldPDFieldFactory.createFieldAddingChildToParent(PDAcroForm form, COSDictionary field, PDNonTerminalField parent) Creates and sets it as a child of the given parentPDNonTerminalFieldThis will get a field by name, possibly using the cache if setCache is true.Methods in org.sejda.sambox.pdmodel.interactive.form that return types with arguments of type PDFieldModifier and TypeMethodDescriptionPDAcroForm.getCalculationOrder()PDNonTerminalField.getChildren()PDAcroForm.getFieldIterator()Returns an iterator which walks all fields in the field tree, post-order.PDAcroForm.getFields()This will return all of the documents root fields.PDFieldTree.iterator()PDFieldTree.stream()Methods in org.sejda.sambox.pdmodel.interactive.form with parameters of type PDFieldModifier and TypeMethodDescriptionvoidAdds a child to the array of childrenstatic COSStringDefaultAppearanceHelper.getDefaultAppearance(PDField field) PDNonTerminalField.removeChild(PDField field) Removes the given node from the children listPDAcroForm.removeField(PDField remove) removes the given field from the root fields of the formMethod parameters in org.sejda.sambox.pdmodel.interactive.form with type arguments of type PDFieldModifier and TypeMethodDescriptionvoidPDAcroForm.addFields(Collection<PDField> toAdd) Adds the fields to the root fields of the formvoidThis will flatten the specified form fields.voidPDAcroForm.refreshAppearances(List<PDField> fields) Refreshes the appearance streams and appearance dictionaries for the widget annotations of the specified fields.voidPDNonTerminalField.setChildren(List<PDField> children) Sets the child fields.voidSet the documents root fields.