Package org.faceless.pdf2
Class Event
- java.lang.Object
-
- org.faceless.pdf2.Event
-
public final class Event extends java.lang.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 withPDFAction
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
Fields Modifier and Type Field Description static Event[]
ALL
A list of all the Event objects, to make iterating over them easierstatic Event
BLUR
Occurs when aWidgetAnnotation
loses the cursor focusstatic Event
CHANGE
Occurs when aFormElement
has it's value changedstatic Event
CLOSE
static Event
FOCUS
Occurs when aWidgetAnnotation
gains the cursor focusstatic Event
FORMAT
Occurs when aFormElement
has had it's value changed and is about to be reformatted for display.static Event
HIDE
Occurs when a page containing an annotation is hidden.static Event
INVALID
An Event that can be used to retrieve or clear any invalid event types from an object.static Event
KEYPRESS
Occurs when aFormElement
has a key pressed in one of it's annotations.static Event
MOUSEDOWN
Occurs when aWidgetAnnotation
has the mouse button depressed inside itstatic Event
MOUSEOUT
Occurs when aWidgetAnnotation
has the mouse roll off itstatic Event
MOUSEOVER
Occurs when aWidgetAnnotation
has the mouse roll over itstatic Event
MOUSEUP
Occurs when aWidgetAnnotation
has the mouse button released after having it depressed inside itstatic Event
OPEN
static Event
OTHERCHANGE
Occurs when aFormElement
other than itself has it's value changed.static Event
POST_PRINT
Occurs when aPDF
has just been be printed (Doc/DidPrint).static Event
POST_SAVE
Occurs when aPDF
has just been be saved (Doc/DidSave).static Event
PRE_PRINT
Occurs when aPDF
is about to be printed (Doc/WillPrint).static Event
PRE_SAVE
Occurs when aPDF
is about to be saved (Doc/WillSave).static Event
SHOW
Occurs when a page containing an annotation becomes visible.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
OPEN
public static final Event OPEN
-
CLOSE
public static final Event CLOSE
-
MOUSEOVER
public static final Event MOUSEOVER
Occurs when aWidgetAnnotation
has the mouse roll over it
-
MOUSEOUT
public static final Event MOUSEOUT
Occurs when aWidgetAnnotation
has the mouse roll off it
-
MOUSEDOWN
public static final Event MOUSEDOWN
Occurs when aWidgetAnnotation
has the mouse button depressed inside it
-
MOUSEUP
public static final Event MOUSEUP
Occurs when aWidgetAnnotation
has the mouse button released after having it depressed inside it
-
FOCUS
public static final Event FOCUS
Occurs when aWidgetAnnotation
gains the cursor focus
-
BLUR
public static final Event BLUR
Occurs when aWidgetAnnotation
loses the cursor focus
-
KEYPRESS
public static final Event KEYPRESS
Occurs when aFormElement
has a key pressed in one of it's annotations. This only applies toFormText
andFormChoice
elements
-
FORMAT
public static final Event FORMAT
Occurs when aFormElement
has had it's value changed and is about to be reformatted for display. This only applies toFormText
andFormChoice
elements
-
CHANGE
public static final Event CHANGE
Occurs when aFormElement
has it's value changed
-
OTHERCHANGE
public static final Event OTHERCHANGE
Occurs when aFormElement
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 aPDF
is about to be saved (Doc/WillSave). Acrobat 5 and later only
-
POST_SAVE
public static final Event POST_SAVE
Occurs when aPDF
has just been be saved (Doc/DidSave). Acrobat 5 and later only
-
PRE_PRINT
public static final Event PRE_PRINT
Occurs when aPDF
is about to be printed (Doc/WillPrint). Acrobat 5 and later only
-
POST_PRINT
public static final Event POST_PRINT
Occurs when aPDF
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
-
-