Class Event

    • Field Detail

      • OPEN

        public static final Event OPEN
        Occurs when a PDF or PDFPage is opened. For a PDF this only fires once, for a page it fires every time the page is displayed
      • CLOSE

        public static final Event CLOSE
        Occurs when a PDF or PDFPage is closed. For a PDF this only fires once, for a page it fires every time the page is removed from the display
      • MOUSEOVER

        public static final Event MOUSEOVER
        Occurs when a WidgetAnnotation has the mouse roll over it
      • MOUSEDOWN

        public static final Event MOUSEDOWN
        Occurs when a WidgetAnnotation has the mouse button depressed inside it
      • MOUSEUP

        public static final Event MOUSEUP
        Occurs when a WidgetAnnotation has the mouse button released after having it depressed inside it
      • KEYPRESS

        public static final Event KEYPRESS
        Occurs when a FormElement has a key pressed in one of it's annotations. This only applies to FormText and FormChoice elements
      • FORMAT

        public static final Event FORMAT
        Occurs when a FormElement has had it's value changed and is about to be reformatted for display. This only applies to FormText and FormChoice elements
      • CHANGE

        public static final Event CHANGE
        Occurs when a FormElement has it's value changed
      • OTHERCHANGE

        public static final Event OTHERCHANGE
        Occurs when a FormElement other than itself has it's value changed. Useful for calculating the value of read-only fields based on the values of others (for example)
      • PRE_SAVE

        public static final Event PRE_SAVE
        Occurs when a PDF is about to be saved (Doc/WillSave). Acrobat 5 and later only
      • POST_SAVE

        public static final Event POST_SAVE
        Occurs when a PDF has just been be saved (Doc/DidSave). Acrobat 5 and later only
      • PRE_PRINT

        public static final Event PRE_PRINT
        Occurs when a PDF is about to be printed (Doc/WillPrint). Acrobat 5 and later only
      • POST_PRINT

        public static final Event POST_PRINT
        Occurs when a PDF has just been be printed (Doc/DidPrint). Acrobat 5 and later only
      • SHOW

        public static final Event SHOW
        Occurs when a page containing an annotation becomes visible.
        Since:
        2.24.3
      • HIDE

        public static final Event HIDE
        Occurs when a page containing an annotation is hidden.
        Since:
        2.24.3
      • INVALID

        public static final Event INVALID
        An Event that can be used to retrieve or clear any invalid event types from an object.
      • ALL

        public static final Event[] ALL
        A list of all the Event objects, to make iterating over them easier
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object