org.faceless.pdf2
Class Event

java.lang.Object
  extended byorg.faceless.pdf2.Event

public final class Event
extends Object

Enumeration class for listing the various types of event that can occur while a PDF document is being loded in Acrobat. Events are always associated with PDFAction objects.

Since:
2.0
See Also:
PDF.setAction(org.faceless.pdf2.Event, org.faceless.pdf2.PDFAction), PDFPage.setAction(org.faceless.pdf2.Event, org.faceless.pdf2.PDFAction), FormElement.setAction(org.faceless.pdf2.Event, org.faceless.pdf2.PDFAction), AnnotationLink.setAction(org.faceless.pdf2.PDFAction), WidgetAnnotation.setAction(org.faceless.pdf2.Event, org.faceless.pdf2.PDFAction)

Field Summary
static Event[] ALL
          A list of all the Event objects, to make iterating over them easier
static Event BLUR
          Occurs when a PDFAnnotation loses the cursor focus
static Event CHANGE
          Occurs when a FormElement has it's value changed
static Event CLICK
          Occurs when a PDFAnnotation is clicked with the mouse
static Event CLOSE
          Occurs when a PDF or PDFPage is closed.
static Event FOCUS
          Occurs when a PDFAnnotation gains the cursor focus
static Event FORMAT
          Occurs when a FormElement has had it's value changed and is about to be reformatted for display.
static Event KEYPRESS
          Occurs when a FormElement has a key pressed in one of it's annotations.
static Event MOUSEDOWN
          Occurs when a PDFAnnotation has the mouse button depressed inside it
static Event MOUSEOUT
          Occurs when a PDFAnnotation has the mouse roll off it
static Event MOUSEOVER
          Occurs when a PDFAnnotation has the mouse roll over it
static Event MOUSEUP
          Occurs when a PDFAnnotation has the mouse button released after having it depressed inside it
static Event OPEN
          Occurs when a PDF or PDFPage is opened.
static Event OTHERCHANGE
          Occurs when a FormElement other than itself has it's value changed.
static Event POST_PRINT
          Occurs when a PDF has just been be printed.
static Event POST_SAVE
          Occurs when a PDF has just been be saved.
static Event PRE_PRINT
          Occurs when a PDF is about to be printed.
static Event PRE_SAVE
          Occurs when a PDF is about to be saved.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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


CLICK

public static final Event CLICK
Occurs when a PDFAnnotation is clicked with the mouse


MOUSEOVER

public static final Event MOUSEOVER
Occurs when a PDFAnnotation has the mouse roll over it


MOUSEOUT

public static final Event MOUSEOUT
Occurs when a PDFAnnotation has the mouse roll off it


MOUSEDOWN

public static final Event MOUSEDOWN
Occurs when a PDFAnnotation has the mouse button depressed inside it


MOUSEUP

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


FOCUS

public static final Event FOCUS
Occurs when a PDFAnnotation gains the cursor focus


BLUR

public static final Event BLUR
Occurs when a PDFAnnotation loses the cursor focus


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. Acrobat 5 and later only


POST_SAVE

public static final Event POST_SAVE
Occurs when a PDF has just been be saved. Acrobat 5 and later only


PRE_PRINT

public static final Event PRE_PRINT
Occurs when a PDF is about to be printed. Acrobat 5 and later only


POST_PRINT

public static final Event POST_PRINT
Occurs when a PDF has just been be printed. Acrobat 5 and later only


ALL

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

Method Detail

toString

public String toString()


Copyright © 2001-2004 Big Faceless Organization