Uses of Class
com.itextpdf.forms.fields.PdfFormAnnotation
-
Uses of PdfFormAnnotation in com.itextpdf.forms.fields
Modifier and TypeMethodDescriptionstatic PdfFormAnnotation
PdfFormCreator.createFormAnnotation
(PdfWidgetAnnotation widget, PdfDocument document) Creates a form field annotation as a wrapper of aPdfWidgetAnnotation
using provided factory.static PdfFormAnnotation
PdfFormCreator.createFormAnnotation
(PdfDictionary dictionary) Creates a form field annotation as a wrapper object around aPdfDictionary
using provided factory.PdfFormFactory.createFormAnnotation
(PdfWidgetAnnotation widget, PdfDocument document) Creates a form field annotation as a wrapper of aPdfWidgetAnnotation
.PdfFormFactory.createFormAnnotation
(PdfDictionary dictionary) Creates a form field annotation as a wrapper object around aPdfDictionary
.RadioFormFieldBuilder.createRadioButton
(String appearanceName, Rectangle rectangle) Creates radio button form field instance based on provided parameters.PdfFormField.getFirstFormAnnotation()
Gets a single child form field's annotationPdfFormAnnotation
.static PdfFormAnnotation
PdfFormAnnotation.makeFormAnnotation
(PdfObject pdfObject, PdfDocument document) Creates aPdfFormAnnotation
object.Sets the action onwidget
of this annotation form field.PdfFormAnnotation.setAppearance
(PdfName appearanceType, String appearanceState, PdfStream appearanceStream) Sets an appearance for (the widgets related to) the form field.PdfFormAnnotation.setBackgroundColor
(Color backgroundColor) Basic setter for thebackgroundColor
property.PdfFormAnnotation.setBorderColor
(Color color) Sets the Border Color.PdfFormAnnotation.setBorderStyle
(PdfDictionary style) Sets the border style for the field.PdfFormAnnotation.setBorderWidth
(float borderWidth) Sets the border width for the field.PdfFormAnnotation.setCaption
(String caption) Basic setter for the push button caption.PdfFormAnnotation.setCaption
(String caption, boolean regenerateField) Basic setter for the push button caption.PdfFormAnnotation.setCheckBoxAppearanceOnStateName
(String onStateName) Sets on state name for the checkbox annotation normal appearance and regenerates widget.PdfFormAnnotation.setFormFieldElement
(IFormField element) This method sets the model element associated with the current annotation and can be useful to take into account when drawing those properties that the annotation does not have.PdfFormAnnotation.setPage
(int pageNum) Specifies on which page the form field's widget must be shown.PdfFormAnnotation.setRotation
(int degRotation) Basic setter for thedegRotation
property.PdfFormAnnotation.setVisibility
(int visibility) Set the visibility flags of the form field annotation.Modifier and TypeMethodDescriptionPdfFormField.getChildFormAnnotations()
Gets all child form field's annotationsPdfFormAnnotation
of this form field. -
Uses of PdfFormAnnotation in com.itextpdf.forms.util
Modifier and TypeMethodDescriptionstatic void
BorderStyleUtil.applyBorderProperty
(IPropertyContainer container, PdfFormAnnotation annotation) Applies the border property to the annotation.