public final class

GoToRemoteAction

extends Action
java.lang.Object
   ↳ com.pspdfkit.annotations.actions.Action
     ↳ com.pspdfkit.annotations.actions.GoToRemoteAction

Class Overview

PDF action representing a change to page in another PDF document.

Summary

Public Constructors
GoToRemoteAction(String pdfPath, int pageIndex)
Creates action instance.
GoToRemoteAction(String pdfPath, int pageIndex, List<Action> subActions)
Creates action instance.
Public Methods
boolean equals(Object o)
int getPageIndex()
Page this action points to.
String getPdfPath()
Relative path to the PDF document this action points to.
ActionType getType()
Returns type of action to make down-casting easier.
int hashCode()
String toString()
[Expand]
Inherited Methods
From class com.pspdfkit.annotations.actions.Action
From class java.lang.Object

Public Constructors

public GoToRemoteAction (String pdfPath, int pageIndex)

Creates action instance.

Parameters
pdfPath Relative path to the target PDF document.
pageIndex Destination page index in the target PDF file.

public GoToRemoteAction (String pdfPath, int pageIndex, List<Action> subActions)

Creates action instance.

Parameters
pdfPath Path of the target PDF file.
pageIndex Destination page index in the target PDF file.
subActions List of sub-actions of this action.

Public Methods

public boolean equals (Object o)

public int getPageIndex ()

Page this action points to.

Returns
  • 0-indexed page number

public String getPdfPath ()

Relative path to the PDF document this action points to.

Returns
  • Relative path to the document.

public ActionType getType ()

Returns type of action to make down-casting easier.

Returns
  • Type of this action.

public int hashCode ()

public String toString ()