Uses of Class
com.itextpdf.kernel.pdf.annot.PdfWidgetAnnotation
-
Packages that use PdfWidgetAnnotation Package Description com.itextpdf.forms.fields com.itextpdf.kernel.pdf.annot com.itextpdf.signatures -
-
Uses of PdfWidgetAnnotation in com.itextpdf.forms.fields
Methods in com.itextpdf.forms.fields that return PdfWidgetAnnotation Modifier and Type Method Description PdfWidgetAnnotation
PdfFormAnnotation. getWidget()
GetsPdfWidgetAnnotation
that this form field refers to.Methods in com.itextpdf.forms.fields that return types with arguments of type PdfWidgetAnnotation Modifier and Type Method Description java.util.List<PdfWidgetAnnotation>
PdfFormField. getWidgets()
Gets allPdfWidgetAnnotation
that its children refer to.Methods in com.itextpdf.forms.fields with parameters of type PdfWidgetAnnotation Modifier and Type Method Description PdfFormField
PdfFormField. addKid(PdfWidgetAnnotation kid)
Adds a new kid to theKids
array property from aPdfWidgetAnnotation
.static PdfButtonFormField
PdfFormCreator. createButtonFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a button form field as a parent of aPdfWidgetAnnotation
using provided factory.PdfButtonFormField
PdfFormFactory. createButtonFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a button form field as a parent of aPdfWidgetAnnotation
.static PdfChoiceFormField
PdfFormCreator. createChoiceFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a choice form field as a parent of aPdfWidgetAnnotation
using provided factory.PdfChoiceFormField
PdfFormFactory. createChoiceFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a choice form field as a parent of aPdfWidgetAnnotation
.static PdfFormAnnotation
PdfFormCreator. createFormAnnotation(PdfWidgetAnnotation widget, PdfDocument document)
Creates a form field annotation as a wrapper of aPdfWidgetAnnotation
using provided factory.PdfFormAnnotation
PdfFormFactory. createFormAnnotation(PdfWidgetAnnotation widget, PdfDocument document)
Creates a form field annotation as a wrapper of aPdfWidgetAnnotation
.static PdfFormField
PdfFormCreator. createFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a form field as a parent of aPdfWidgetAnnotation
using provided factory.PdfFormField
PdfFormFactory. createFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a form field as a parent of aPdfWidgetAnnotation
.static PdfSignatureFormField
PdfFormCreator. createSignatureFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a signature form field as a parent of aPdfWidgetAnnotation
using provided factory.PdfSignatureFormField
PdfFormFactory. createSignatureFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a signature form field as a parent of aPdfWidgetAnnotation
.static PdfTextFormField
PdfFormCreator. createTextFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a text form field as a parent of aPdfWidgetAnnotation
using provided factory.PdfTextFormField
PdfFormFactory. createTextFormField(PdfWidgetAnnotation widget, PdfDocument document)
Creates a text form field as a parent of aPdfWidgetAnnotation
.Constructors in com.itextpdf.forms.fields with parameters of type PdfWidgetAnnotation Constructor Description PdfButtonFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
Creates a button form field as a parent of aPdfWidgetAnnotation
.PdfChoiceFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
Creates a choice form field as a parent of aPdfWidgetAnnotation
.PdfFormAnnotation(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
Creates a form field annotation as a wrapper of aPdfWidgetAnnotation
.PdfFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
Creates a form field as a parent of aPdfWidgetAnnotation
.PdfSignatureFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
Creates a signature form field as a parent of aPdfWidgetAnnotation
.PdfTextFormField(PdfWidgetAnnotation widget, PdfDocument pdfDocument)
Creates a text form field as a parent of aPdfWidgetAnnotation
. -
Uses of PdfWidgetAnnotation in com.itextpdf.kernel.pdf.annot
Methods in com.itextpdf.kernel.pdf.annot that return PdfWidgetAnnotation Modifier and Type Method Description PdfWidgetAnnotation
PdfWidgetAnnotation. setAction(PdfAction action)
Sets aPdfAction
to this annotation which will be performed when the annotation is activated.PdfWidgetAnnotation
PdfWidgetAnnotation. setAdditionalAction(PdfName key, PdfAction action)
Sets an additionalPdfAction
to this annotation which will be performed in response to the specific trigger event defined bykey
.PdfWidgetAnnotation
PdfWidgetAnnotation. setAppearanceCharacteristics(PdfDictionary characteristics)
Sets an appearance characteristics dictionary containing additional information for constructing the annotation’s appearance stream.PdfWidgetAnnotation
PdfWidgetAnnotation. setBorderStyle(PdfDictionary borderStyle)
Sets border style dictionary that has more settings than the array specified for the Border entry (PdfAnnotation.getBorder()
).PdfWidgetAnnotation
PdfWidgetAnnotation. setBorderStyle(PdfName style)
Setter for the annotation's preset border style.PdfWidgetAnnotation
PdfWidgetAnnotation. setDashPattern(PdfArray dashPattern)
Setter for the annotation's preset dashed border style.PdfWidgetAnnotation
PdfWidgetAnnotation. setHighlightMode(PdfName mode)
Setter for the annotation's highlighting mode.PdfWidgetAnnotation
PdfWidgetAnnotation. setParent(PdfObject parent)
PdfWidgetAnnotation
PdfWidgetAnnotation. setVisibility(int visibility)
Set the visibility flags of the Widget annotation Options are: HIDDEN, HIDDEN_BUT_PRINTABLE, VISIBLE, VISIBLE_BUT_DOES_NOT_PRINT -
Uses of PdfWidgetAnnotation in com.itextpdf.signatures
Methods in com.itextpdf.signatures with parameters of type PdfWidgetAnnotation Modifier and Type Method Description protected int
PdfSigner. getWidgetPageNumber(PdfWidgetAnnotation widget)
Get the page number associated to the provided widget.protected Rectangle
PdfSigner. getWidgetRectangle(PdfWidgetAnnotation widget)
Get the rectangle associated to the provided widget.
-