Package com.itextpdf.forms.fields
Class FormFieldBuilder>
java.lang.Object
com.itextpdf.forms.fields.FormFieldBuilder
- Type Parameters:
-
T
- specific form field builder which extends this class.
- Direct Known Subclasses:
-
NonTerminalFormFieldBuilder
,TerminalFormFieldBuilder
Builder for form field.
-
Constructor Summary
ModifierConstructorDescriptionprotected
FormFieldBuilder
(PdfDocument document, String formFieldName) Creates builder forPdfFormField
creation. -
Method Summary
Modifier and TypeMethodDescriptionGets conformance for form field creation.Gets document to be used for form field creation.Gets name of the form field.protected abstract T
getThis()
Returns this builder object.setConformance
(PdfConformance conformance) Sets conformance for form field creation.
-
Constructor Details
-
FormFieldBuilder
Creates builder forPdfFormField
creation.- Parameters:
-
document
- document to be used for form field creation -
formFieldName
- name of the form field
-
-
Method Details
-
getDocument
Gets document to be used for form field creation.- Returns:
-
PdfDocument
instance
-
getFormFieldName
Gets name of the form field.- Returns:
- name to be used for form field creation
-
getConformance
Gets conformance for form field creation.- Returns:
-
instance of
PdfConformance
to be used for form field creation
-
setConformance
Sets conformance for form field creation.- Parameters:
-
conformance
- Instance ofPdfConformance
to be used for form field creation. - Returns:
- this builder
-
getThis
Returns this builder object. Required for superclass methods.- Returns:
- this builder
-