public class GoToRAction extends Action
A remote go-to action is similar to an ordinary go-to action but jumps to a destination in another PDF file instead of the current file.
| Modifier and Type | Field and Description |
|---|---|
static Name |
F_KEY |
static Name |
NEW_WINDOW_KEY |
ACTION_TYPE, ACTION_TYPE_GOTO, ACTION_TYPE_GOTO_REMOTE, ACTION_TYPE_JAVA_SCRIPT, ACTION_TYPE_KEY, ACTION_TYPE_LAUNCH, ACTION_TYPE_NAMED, ACTION_TYPE_RESET_SUBMIT, ACTION_TYPE_SUBMIT_SUBMIT, ACTION_TYPE_URI, NEXT_KEYentries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY| Constructor and Description |
|---|
GoToRAction(Library l,
java.util.HashMap h)
Creates a new instance of a Action.
|
| Modifier and Type | Method and Description |
|---|---|
Destination |
getDestination()
Gets the destination associated with the external file path.
|
java.lang.String |
getFile()
Gets the external file path
|
FileSpecification |
getFileSpecification()
Gets the file specification of the destination file.
|
java.lang.Boolean |
isNewWindow()
Indicates if the external document should be loaded in a new window or if
it should be loaded in the current.
|
buildAction, getType, similargetEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toStringpublic static final Name F_KEY
public static final Name NEW_WINDOW_KEY
public GoToRAction(Library l, java.util.HashMap h)
l - document library.h - Action dictionary entries.public Destination getDestination()
public java.lang.String getFile()
public FileSpecification getFileSpecification()
public java.lang.Boolean isNewWindow()