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 level 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.setConformanceLevel
(PdfAConformanceLevel conformanceLevel) Sets conformance level 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
-
getConformanceLevel
Gets conformance level for form field creation.- Returns:
-
instance of
PdfAConformanceLevel
to be used for form field creation
-
setConformanceLevel
Sets conformance level for form field creation.- Parameters:
-
conformanceLevel
- instance ofPdfAConformanceLevel
to be used for form field creation - Returns:
- this builder
-
getThis
Returns this builder object. Required for superclass methods.- Returns:
- this builder
-