public abstract class PdfAction extends Object
PdfEvent
inner class. One or
more actions can be specified for events associated with the whole
document, individual pages, bookmarks, annotations and form fields.PdfDocument
,
PdfBookmark
,
PdfAnnot
,
PdfFormField
,
PdfFormPushButton
Modifier and Type | Class and Description |
---|---|
static class |
PdfAction.PdfEvent
This inner class represents an event inside a
viewer displaying a PDF document.
|
Modifier and Type | Field and Description |
---|---|
static int |
GOTO
Action for navigating to a
destination
in current document.
|
static int |
JAVASCRIPT
Action for executing a JavaScript script.
|
static int |
LAUNCH
Action for launching an application, or a displaying or
printing a file.
|
static int |
NAMED
Constant specifying any named action.
|
static int |
NAMED_FIND
As yet (2007) undocumented named action for displaying the text
search panel.
|
static int |
NAMED_FIRSTPAGE
Named action
for navigating to first page in current document.
|
static int |
NAMED_LASTPAGE
Named action
for navigating to last page in current document.
|
static int |
NAMED_NEXTPAGE
Named action
for navigating to next page in current document.
|
static int |
NAMED_OPEN
As yet (2007) undocumented named action for displaying a file
"Open" dialog box.
|
static int |
NAMED_PREVPAGE
Named action
for navigating to previous page in current document.
|
static int |
NAMED_PRINT
As yet (2007) undocumented named action for displaying a file
"Print" dialog box.
|
static int |
NAMED_SEARCH
As yet (2007) undocumented, named action for displaying the
"Search PDF" panel.
|
static int |
REMOTE_GOTO
Action for navigating to a
destination
in another document.
|
static int |
URI
Action for making the Operating System (OS) shell program to
resolve a specified Uniform Resource Identifier (URI).
|
Constructor and Description |
---|
PdfAction() |
Modifier and Type | Method and Description |
---|---|
int |
getActionType()
Returns action type.
|
public static final int LAUNCH
public static final int GOTO
public static final int REMOTE_GOTO
public static final int URI
public static final int JAVASCRIPT
public static final int NAMED_NEXTPAGE
public static final int NAMED_PREVPAGE
public static final int NAMED_FIRSTPAGE
public static final int NAMED_LASTPAGE
public static final int NAMED_OPEN
public static final int NAMED_PRINT
public static final int NAMED_FIND
public static final int NAMED_SEARCH
public static final int NAMED