public final class GoToRemoteAction extends GoToAction
Represents a remote go-to action that is similar to an ordinary go-to action but jumps to a destination in another PDF file instead of the current file.
Constructor and Description |
---|
GoToRemoteAction(String remotePdf,
ExplicitDestination destination)
Initializes GoToRemoteAction object.
|
GoToRemoteAction(String remotePdf,
int remotePageNumber)
Initializes GoToRemoteAction object.
|
Modifier and Type | Method and Description |
---|---|
IAppointment |
getDestination()
Gets the destination to jump to.
|
FileSpecification |
getFile()
Gets the specification of the file in which the destination is located.
|
int |
getNewWindow()
Gets a flag specifying whether to open the destination document in a new window.
|
void |
setDestination(IAppointment value)
Sets the destination to jump to.
|
void |
setFile(FileSpecification value)
Sets the specification of the file in which the destination is located.
|
void |
setNewWindow(int value)
Sets a flag specifying whether to open the destination document in a new window.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public GoToRemoteAction(String remotePdf, int remotePageNumber)
Initializes GoToRemoteAction object.
remotePdf
- Destination PDF document.remotePageNumber
- Destination page number.public GoToRemoteAction(String remotePdf, ExplicitDestination destination)
Initializes GoToRemoteAction object.
remotePdf
- Destination PDF document.destination
- Destination in the PDF document.public FileSpecification getFile()
Gets the specification of the file in which the destination is located.
public void setFile(FileSpecification value)
Sets the specification of the file in which the destination is located.
value
- FileSpecification valuepublic int getNewWindow()
Gets a flag specifying whether to open the destination document in a new window.
ExtendedBoolean
public void setNewWindow(int value)
Sets a flag specifying whether to open the destination document in a new window.
value
- ExtendedBoolean elementExtendedBoolean
public IAppointment getDestination()
Gets the destination to jump to.
getDestination
in class GoToAction
public void setDestination(IAppointment value)
Sets the destination to jump to.
setDestination
in class GoToAction
value
- destination to jump