|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPdfObjectContainer
com.crionics.jpdf.action.AbstractAction
com.crionics.jpdf.action.NamedAction
public class NamedAction
Allows a specific action to be executed when viewing a document.
Note 1: Viewer applications may support additional, nonstandard named actions, but any document using them would not be portable. If the viewer encounters a named action that is inappropriate for a viewing platform, or if the viewer does not recognize the name, it will take no action.
Note2 :Acrobat viewers extend the list of named actions to include most of the menu item names available in the viewer.
| Field Summary | |
|---|---|
static java.lang.String |
FIRSTPAGE
Go to the first page of the document. |
static java.lang.String |
LASTPAGE
Go to the last page of the document. |
static java.lang.String |
NEXTPAGE
Go to the next page of the document. |
static java.lang.String |
PREVPAGE
Go to the previous page of the document. |
| Method Summary | |
|---|---|
static NamedAction |
createInstance(PdfDocument doc)
Allows the creation of a new Action into the Specified document. |
java.lang.String |
getName()
Recovers the Action defined within this object. |
void |
setName(java.lang.String name)
Sets the Action to be realised by this object. |
| Methods inherited from class com.crionics.jpdf.action.AbstractAction |
|---|
getNextAction, hasNextAction, setNextAction |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String FIRSTPAGE
public static final java.lang.String LASTPAGE
public static final java.lang.String NEXTPAGE
public static final java.lang.String PREVPAGE
| Method Detail |
|---|
public static NamedAction createInstance(PdfDocument doc)
throws PdfException,
java.io.IOException
The usage of this method requires the acquision of the Module jPDF Creator or jPDF Template
doc - The Document into which the Action should be created.
PdfException - If a problem occured while parsing the document.
java.io.IOException - If a problem occured while parsing the file.
public java.lang.String getName()
throws PdfException,
java.io.IOException
PdfException - If a problem occured while parsing the document.
java.io.IOException - If a problem occured while parsing the file.
public void setName(java.lang.String name)
throws PdfException,
java.io.IOException
name - The action to set.
PdfException - If a problem occured while parsing the document.
java.io.IOException - If a problem occured while parsing the file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||