java.lang.Object | ||
↳ | com.pspdfkit.annotations.actions.Action | |
↳ | com.pspdfkit.annotations.actions.GoToEmbeddedAction |
Action that allows jumping to a PDF file that is embedded in the document.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GoToEmbeddedAction(EmbeddedFile targetFile, boolean openInNewWindow)
Creates action instance.
| |||||||||||
GoToEmbeddedAction(EmbeddedFile targetFile, boolean openInNewWindow, List<Action> subActions)
Creates action instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
int |
getPageIndex()
Page index in the target document to skip to once the action is executed.
| ||||||||||
String |
getPdfPath()
Relative path to the embedded PDF document.
| ||||||||||
ActionType |
getType()
Returns type of action to make down-casting easier.
| ||||||||||
int | hashCode() | ||||||||||
boolean |
isNewWindow()
Whether or not a new window should be created for displaying the embedded document.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates action instance.
targetFile | Target embedded file, action will be no-op if the embedded file won't be present in the document once the action is executed. |
---|---|
openInNewWindow | true to open embedded file in a new activity (works only when
executed from within PdfActivity ), false to replace currently opened
file.
|
Creates action instance.
targetFile | Target embedded file, action will be no-op if the embedded file won't be present in the document once the action is executed. |
---|---|
openInNewWindow | true to open embedded file in a new activity (works only when
executed from within PdfActivity ), false to replace currently opened
file. |
subActions | List of sub-actions of this action. |
Page index in the target document to skip to once the action is executed.
Relative path to the embedded PDF document.
null
if path to embedded file could not
be resolved.
Returns type of action to make down-casting easier.
Whether or not a new window should be created for displaying the embedded document.
true
if a new window should be created for displayed document.