Uses of Class
org.faceless.pdf2.WidgetAnnotation
-
Packages that use WidgetAnnotation Package Description org.faceless.pdf2 Contains the classes used to create a PDF documentorg.faceless.pdf2.viewer2 The "viewer" package contains the classes required to create a Swing application to display PDFs. -
-
Uses of WidgetAnnotation in org.faceless.pdf2
Methods in org.faceless.pdf2 that return WidgetAnnotation Modifier and Type Method Description WidgetAnnotation
FormBarCode. addAnnotation(PDFPage page, float x1, float y1, float x2, float y2)
Create and add a new widget annotation for this field.WidgetAnnotation
FormButton. addAnnotation(PDFPage page, float x1, float y1, float x2, float y2)
Add an annotation for this Form element at the specified position on the specified page.WidgetAnnotation
FormChoice. addAnnotation(PDFPage page, float x1, float y1, float x2, float y2)
Add an annotation for this element at the specified location on the pageWidgetAnnotation
FormSignature. addAnnotation(PDFPage page, float x1, float y1, float x2, float y2)
Add an annotation for this Signature to the specified page at the specified location.WidgetAnnotation
FormSignature. addAnnotation(PDFPage page, float x1, float y1, float x2, float y2, PDFCanvas appearance)
Add an annotation for this Signature to the specified page at the specified location, with the specified appearance.WidgetAnnotation
FormText. addAnnotation(PDFPage page, float x1, float y1, float x2, float y2)
Add an annotation for this element at the specified location on the pageWidgetAnnotation
FormElement. getAnnotation(int annot)
Return the specified annotation.WidgetAnnotation
PDFAction. getAnnotation()
ForPDFAction.hideWidget(org.faceless.pdf2.WidgetAnnotation)
andPDFAction.showWidget(org.faceless.pdf2.WidgetAnnotation)
actions, return the annotation being toggled shown or hidden.Methods in org.faceless.pdf2 that return types with arguments of type WidgetAnnotation Modifier and Type Method Description List<WidgetAnnotation>
FormElement. getAnnotations()
Return a list of all the annotations associated with this form element.Map<String,WidgetAnnotation>
FormCheckbox. getOptions()
Map<String,WidgetAnnotation>
FormRadioButton. getOptions()
Methods in org.faceless.pdf2 with parameters of type WidgetAnnotation Modifier and Type Method Description static PDFAction
PDFAction. hideWidget(WidgetAnnotation annot)
Return a new PDFAction which hides the specifiedWidgetAnnotation
.static PDFAction
PDFAction. showWidget(WidgetAnnotation annot)
Return a new PDFAction which makes the specifiedWidgetAnnotation
visible on screen. -
Uses of WidgetAnnotation in org.faceless.pdf2.viewer2
Methods in org.faceless.pdf2.viewer2 with parameters of type WidgetAnnotation Modifier and Type Method Description JSEvent
JSManager. runEventFieldBlur(DocumentPanel panel, WidgetAnnotation annot, boolean shift, boolean modifier)
Raise theField/Blur
JavaScript methodJSEvent
JSManager. runEventFieldCalculate(DocumentPanel panel, WidgetAnnotation target, WidgetAnnotation source)
Raise theField/Calculate
JavaScript methodJSEvent
JSManager. runEventFieldFocus(DocumentPanel panel, WidgetAnnotation annot, boolean shift, boolean modifier)
Raise theField/Focus
JavaScript methodJSEvent
JSManager. runEventFieldFormat(DocumentPanel panel, WidgetAnnotation annot, int commitKey, boolean willCommit)
Raise theField/Format
JavaScript methodJSEvent
JSManager. runEventFieldKeystroke(DocumentPanel panel, WidgetAnnotation annot, int commitKey, String change, String changeEx, boolean fieldFull, boolean keyDown, boolean modifier, int selStart, int selEnd, boolean shift, String value, boolean willCommit)
Raise theField/Keystroke
JavaScript methodJSEvent
JSManager. runEventFieldMouseDown(DocumentPanel panel, WidgetAnnotation annot, MouseEvent mevent)
Raise theField/Mouse Down
JavaScript methodJSEvent
JSManager. runEventFieldMouseEnter(DocumentPanel panel, WidgetAnnotation annot, MouseEvent mevent)
Raise theField/Mouse Enter
JavaScript methodJSEvent
JSManager. runEventFieldMouseExit(DocumentPanel panel, WidgetAnnotation annot, MouseEvent mevent)
Raise theField/Mouse Exit
JavaScript methodJSEvent
JSManager. runEventFieldMouseUp(DocumentPanel panel, WidgetAnnotation annot, MouseEvent mevent)
Raise theField/Mouse Up
JavaScript methodJSEvent
JSManager. runEventFieldValidate(DocumentPanel panel, WidgetAnnotation annot, String value, boolean shift, boolean modifier, String change, String changeEx, boolean keyDown)
Raise theField/Validate
JavaScript method
-