public static final class PdfAction.PdfEvent extends Object
PDF action
or a set of PDF actions.
A set of standard events are predefined here.Modifier and Type | Field and Description |
---|---|
static int |
ON_AFTER_DOCUMENT_PRINT
Document-level event that fires after a document is printed
by the viewer.
|
static int |
ON_AFTER_DOCUMENT_SAVE
Document-level event that fires after a copy of a
document is saved by the viewer.
|
static int |
ON_BEFORE_DOCUMENT_PRINT
Document-level event that fires before a document is
printed by the viewer.
|
static int |
ON_BEFORE_DOCUMENT_SAVE
Document-level event that fires before a copy of a
document is saved by the viewer.
|
static int |
ON_DOCUMENT_CLOSE
Document-level event that fires before a document is closed
by the viewer.
|
static int |
ON_DOCUMENT_OPEN
Deprecated.
|
static int |
ON_FIELD_BEFORE_FORMAT
Event that fires before value of a form field value is
formatted by the viewer.
|
static int |
ON_FIELD_KEY_STROKE
Event that fires when the user enters keystrokes to
interact with a form field inside a viewer.
|
static int |
ON_FIELD_VALUE_CHANGE
Event that fires before value of a form field is changed
inside the viewer.
|
static int |
ON_FIELD_VALUE_RECALCULATE
Event that fires before a form field is recalculated by the
viewer after value of another field gets changed.
|
static int |
ON_INPUT_BLURRED
Event that fires when an annotation/form field displayed by
the viewer loses input focus.
|
static int |
ON_INPUT_FOCUS
Event that fires when an annotation/form field displayed by
the viewer receives input focus.
|
static int |
ON_MOUSE_DOWN
Event that fires before selection button of mouse is
pressed over an annotation/form field displayed inside
the viewer.
|
static int |
ON_MOUSE_ENTER
Event that fires before mouse pointer is brought over an
annotation/form field inside the viewer.
|
static int |
ON_MOUSE_EXIT
Event that fires before mouse pointer is taken off an
annotation/form field displayed inside the viewer.
|
static int |
ON_MOUSE_UP
Event that fires when selection button of mouse is released
over an annotation/form field displayed inside the viewer.
|
static int |
ON_PAGE_CLOSE
Page-level event that fires when a page is closed inside
the viewer.
|
static int |
ON_PAGE_INVISIBLE
Page-level event that fires before a page becomes
invisible inside the viewer.
|
static int |
ON_PAGE_OPEN
Page-level event that fires after a page is opened inside
the viewer.
|
static int |
ON_PAGE_VISIBLE
Page-level event that fires before a page becomes
visible inside the viewer.
|
public static final int ON_DOCUMENT_OPEN
public static final int ON_DOCUMENT_CLOSE
public static final int ON_BEFORE_DOCUMENT_SAVE
public static final int ON_AFTER_DOCUMENT_SAVE
public static final int ON_BEFORE_DOCUMENT_PRINT
public static final int ON_AFTER_DOCUMENT_PRINT
public static final int ON_PAGE_OPEN
public static final int ON_PAGE_CLOSE
public static final int ON_PAGE_VISIBLE
ON_PAGE_OPEN
,
Constant Field Valuespublic static final int ON_PAGE_INVISIBLE
ON_PAGE_OPEN
,
Constant Field Valuespublic static final int ON_MOUSE_ENTER
public static final int ON_MOUSE_EXIT
public static final int ON_MOUSE_DOWN
public static final int ON_MOUSE_UP
public static final int ON_INPUT_FOCUS
public static final int ON_INPUT_BLURRED
public static final int ON_FIELD_KEY_STROKE
Javascript
action
that can check for validity of the input, or to
change it or reject it.public static final int ON_FIELD_BEFORE_FORMAT
Javascript action
that can
modify the value of the form field before it is formatted.public static final int ON_FIELD_VALUE_CHANGE
javascript action
that will
check validity of the new value.public static final int ON_FIELD_VALUE_RECALCULATE