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 TypeMethodDescriptionDeprecated.Gets document to be used for form field creation.Gets name of the form field.Deprecated.since 8.0.4 will be renamed to getConformanceLevel()protected abstract T
getThis()
Returns this builder object.setConformanceLevel
(PdfAConformanceLevel conformanceLevel) Deprecated.since 8.0.4 conformance level param will change toIConformanceLevel
setGenericConformanceLevel
(IConformanceLevel conformanceLevel) Deprecated.since 8.0.4 will be renamed to setConformanceLevel
-
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
Deprecated.since 8.0.4 will returnIConformanceLevel
in next major releaseGets conformance level for form field creation.- Returns:
-
instance of
PdfAConformanceLevel
to be used for form field creation
-
getGenericConformanceLevel
Deprecated.since 8.0.4 will be renamed to getConformanceLevel()Gets conformance level for form field creation.- Returns:
-
instance of
IConformanceLevel
to be used for form field creation
-
setConformanceLevel
Deprecated.since 8.0.4 conformance level param will change toIConformanceLevel
Sets conformance level for form field creation.- Parameters:
-
conformanceLevel
- instance ofPdfAConformanceLevel
to be used for form field creation - Returns:
- this builder
-
setGenericConformanceLevel
Deprecated.since 8.0.4 will be renamed to setConformanceLevelSets conformance level for form field creation.- Parameters:
-
conformanceLevel
- Instance ofIConformanceLevel
to be used for form field creation. - Returns:
- This builder.
-
getThis
Returns this builder object. Required for superclass methods.- Returns:
- this builder
-
IConformanceLevel
in next major release