Uses of Class
org.faceless.pdf2.FormElement
-
Packages that use FormElement Package Description org.faceless.pdf2 Contains the classes used to create a PDF document -
-
Uses of FormElement in org.faceless.pdf2
Subclasses of FormElement in org.faceless.pdf2 Modifier and Type Class Description class
FormBarCode
A type of form element representing a BarCode.class
FormButton
A type ofFormElement
representing a "Push Button", of the kind used to trigger an action like submitting or resetting a form.class
FormCheckbox
A type of form element representing a Check Box, which can be either "checked" or "cleared" (on or off), in the same way as the HTML "checkbox" input type.class
FormChoice
A "ListBox" type of form element, where the user can select an entry off a list of several predefined options.class
FormRadioButton
A type of form element representing a Radio Button, which can be either "checked" or "cleared" (on or off), in the same way as the HTML "radiobutton" input type.class
FormSignature
This class represents a public key "Digital Signature" which can be used to sign a PDF document.class
FormText
A type of form element representing a Text Field.Methods in org.faceless.pdf2 that return FormElement Modifier and Type Method Description FormElement
FormElement. duplicate()
Create an exact copy of this FormElement, but with no annotationsFormElement
Form. getElement(java.lang.String name)
Return the specified element from the form.FormElement
WidgetAnnotation. getField()
Return theFormElement
that this annotation represents on the page.FormElement
Form. removeElement(java.lang.String name)
Remove the specified element from the form, if it exists.Methods in org.faceless.pdf2 that return types with arguments of type FormElement Modifier and Type Method Description java.util.Map<java.lang.String,FormElement>
Form. getElements()
Return a map of all the elements in the form.java.util.Collection<FormElement>
PDFAction. getFormSubmitFields()
Return the list of fields to be submitted by this form-submit action, ornull
if this action is not a form-submit action or is not part of a PDF.Methods in org.faceless.pdf2 with parameters of type FormElement Modifier and Type Method Description void
Form. addElement(java.lang.String name, FormElement element)
Add an element to the form.static java.lang.String
FDF. getCanonicalDate(FormElement field)
For the given field, if it is a Date field return it's value in the "canonical" date format described in the PDF specification (necessary for form submission).java.lang.String
Form. getName(FormElement element)
Given aFormElement
, return the name by which this element is stored in the form, ornull
if it doesn't exist in this form.Method parameters in org.faceless.pdf2 with type arguments of type FormElement Modifier and Type Method Description static PDFAction
PDFAction. formReset(java.util.Collection<FormElement> fields)
Return a newPDFAction
which resets the specified fields in the documents AcroForm, setting them field to their default value.static PDFAction
PDFAction. formSubmit(java.lang.String url, int method, java.util.Collection<FormElement> fields)
Return a new PDFAction which submits the documents AcroForm.void
FDF. setFields(java.util.Collection<FormElement> fields)
Set the fields that are to be included in this FDF.
-