Package org.faceless.pdf2
Class Event
- java.lang.Object
-
- org.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 withPDFActionobjects.- 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
Fields Modifier and Type Field Description static Event[]ALLA list of all the Event objects, to make iterating over them easierstatic EventBLUROccurs when aWidgetAnnotationloses the cursor focusstatic EventCHANGEOccurs when aFormElementhas it's value changedstatic EventCLOSEstatic EventFOCUSOccurs when aWidgetAnnotationgains the cursor focusstatic EventFORMATOccurs when aFormElementhas had it's value changed and is about to be reformatted for display.static EventHIDEOccurs when a page containing an annotation is hidden.static EventINVALIDAn Event that can be used to retrieve or clear any invalid event types from an object.static EventKEYPRESSOccurs when aFormElementhas a key pressed in one of it's annotations.static EventMOUSEDOWNOccurs when aWidgetAnnotationhas the mouse button depressed inside itstatic EventMOUSEOUTOccurs when aWidgetAnnotationhas the mouse roll off itstatic EventMOUSEOVEROccurs when aWidgetAnnotationhas the mouse roll over itstatic EventMOUSEUPOccurs when aWidgetAnnotationhas the mouse button released after having it depressed inside itstatic EventOPENstatic EventOTHERCHANGEOccurs when aFormElementother than itself has it's value changed.static EventPOST_PRINTOccurs when aPDFhas just been be printed (Doc/DidPrint).static EventPOST_SAVEOccurs when aPDFhas just been be saved (Doc/DidSave).static EventPRE_PRINTOccurs when aPDFis about to be printed (Doc/WillPrint).static EventPRE_SAVEOccurs when aPDFis about to be saved (Doc/WillSave).static EventSHOWOccurs when a page containing an annotation becomes visible.
-
-
-
Field Detail
-
OPEN
public static final Event OPEN
-
CLOSE
public static final Event CLOSE
-
MOUSEOVER
public static final Event MOUSEOVER
Occurs when aWidgetAnnotationhas the mouse roll over it
-
MOUSEOUT
public static final Event MOUSEOUT
Occurs when aWidgetAnnotationhas the mouse roll off it
-
MOUSEDOWN
public static final Event MOUSEDOWN
Occurs when aWidgetAnnotationhas the mouse button depressed inside it
-
MOUSEUP
public static final Event MOUSEUP
Occurs when aWidgetAnnotationhas the mouse button released after having it depressed inside it
-
FOCUS
public static final Event FOCUS
Occurs when aWidgetAnnotationgains the cursor focus
-
BLUR
public static final Event BLUR
Occurs when aWidgetAnnotationloses the cursor focus
-
KEYPRESS
public static final Event KEYPRESS
Occurs when aFormElementhas a key pressed in one of it's annotations. This only applies toFormTextandFormChoiceelements
-
FORMAT
public static final Event FORMAT
Occurs when aFormElementhas had it's value changed and is about to be reformatted for display. This only applies toFormTextandFormChoiceelements
-
CHANGE
public static final Event CHANGE
Occurs when aFormElementhas it's value changed
-
OTHERCHANGE
public static final Event OTHERCHANGE
Occurs when aFormElementother 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 aPDFis about to be saved (Doc/WillSave). Acrobat 5 and later only
-
POST_SAVE
public static final Event POST_SAVE
Occurs when aPDFhas just been be saved (Doc/DidSave). Acrobat 5 and later only
-
PRE_PRINT
public static final Event PRE_PRINT
Occurs when aPDFis about to be printed (Doc/WillPrint). Acrobat 5 and later only
-
POST_PRINT
public static final Event POST_PRINT
Occurs when aPDFhas 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
-
-