## Uses of Class
org.faceless.pdf2.WidgetAnnotation

- Packages that use WidgetAnnotation
  Package | Description
  --- | ---
  org.faceless.pdf2 | Contains the classes used to create a PDF document
  org.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 and 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 page
    `WidgetAnnotation` | 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` | FormText.`addAnnotation(PDFPage page, float x1, float y1, float x2, float y2)` Add an annotation for this element at the specified location on the page
    `WidgetAnnotation` | PDFAction.`getAnnotation()` For `PDFAction.hideWidget(org.faceless.pdf2.WidgetAnnotation)` and `PDFAction.showWidget(org.faceless.pdf2.WidgetAnnotation)` actions, return the annotation being toggled shown or hidden.
    `WidgetAnnotation` | FormElement.`getAnnotation(int annot)` Return the specified annotation.

    Methods in org.faceless.pdf2 that return types with arguments of type WidgetAnnotation
    Modifier and Type | Method and 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 and Description
    --- | ---
    `static PDFAction` | PDFAction.`hideWidget(WidgetAnnotation annot)` Return a new PDFAction which hides the specified `WidgetAnnotation`.
    `static PDFAction` | PDFAction.`showWidget(WidgetAnnotation annot)` Return a new PDFAction which makes the specified `WidgetAnnotation` 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 and Description
    --- | ---
    `JSEvent` | JSManager.`runEventFieldBlur(DocumentPanel panel, WidgetAnnotation annot, boolean shift, boolean modifier)` Raise the `Field/Blur` JavaScript method
    `JSEvent` | JSManager.`runEventFieldCalculate(DocumentPanel panel, WidgetAnnotation target, WidgetAnnotation source)` Raise the `Field/Calculate` JavaScript method
    `JSEvent` | JSManager.`runEventFieldFocus(DocumentPanel panel, WidgetAnnotation annot, boolean shift, boolean modifier)` Raise the `Field/Focus` JavaScript method
    `JSEvent` | JSManager.`runEventFieldFormat(DocumentPanel panel, WidgetAnnotation annot, int commitKey, boolean willCommit)` Raise the `Field/Format` JavaScript method
    `JSEvent` | 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 the `Field/Keystroke` JavaScript method
    `JSEvent` | JSManager.`runEventFieldMouseDown(DocumentPanel panel, WidgetAnnotation annot, MouseEvent mevent)` Raise the `Field/Mouse Down` JavaScript method
    `JSEvent` | JSManager.`runEventFieldMouseEnter(DocumentPanel panel, WidgetAnnotation annot, MouseEvent mevent)` Raise the `Field/Mouse Enter` JavaScript method
    `JSEvent` | JSManager.`runEventFieldMouseExit(DocumentPanel panel, WidgetAnnotation annot, MouseEvent mevent)` Raise the `Field/Mouse Exit` JavaScript method
    `JSEvent` | JSManager.`runEventFieldMouseUp(DocumentPanel panel, WidgetAnnotation annot, MouseEvent mevent)` Raise the `Field/Mouse Up` JavaScript method
    `JSEvent` | JSManager.`runEventFieldValidate(DocumentPanel panel, WidgetAnnotation annot, String value, boolean shift, boolean modifier, String change, String changeEx, boolean keyDown)` Raise the `Field/Validate` JavaScript method

Copyright © 2001-2015 Big Faceless Organization