COSObjectable
, PDDestinationOrAction
public class PDActionRemoteGoTo extends PDAction
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
SUB_TYPE |
This type of action this object represents.
|
Constructor | Description |
---|---|
PDActionRemoteGoTo() |
Default constructor.
|
PDActionRemoteGoTo(COSDictionary a) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
COSDictionary |
getCOSDictionary() |
Convert this standard java object to a COS object.
|
COSBase |
getCOSObject() |
Convert this standard java object to a COS object.
|
COSBase |
getD() |
This will get the destination to jump to.
|
PDFileSpecification |
getFile() |
This will get the file in which the destination is located.
|
java.lang.String |
getS() |
This will get the type of action that the actions dictionary describes.
|
void |
setD(COSBase d) |
This will set the destination to jump to.
|
void |
setFile(PDFileSpecification fs) |
This will set the file in which the destination is located.
|
void |
setOpenInNewWindow(boolean value) |
This will specify the destination document to open in a new window.
|
void |
setS(java.lang.String s) |
This will set the type of action that the actions dictionary describes.
|
boolean |
shouldOpenInNewWindow() |
This will specify whether to open the destination document in a new window.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNext, getSubType, getType, setNext, setSubType, setType
public static final java.lang.String SUB_TYPE
public PDActionRemoteGoTo()
public PDActionRemoteGoTo(COSDictionary a)
a
- The action dictionary.public COSBase getCOSObject()
getCOSObject
in interface COSObjectable
getCOSObject
in class PDAction
public COSDictionary getCOSDictionary()
getCOSDictionary
in class PDAction
public java.lang.String getS()
public void setS(java.lang.String s)
s
- The remote go-to action.public PDFileSpecification getFile() throws java.io.IOException
java.io.IOException
- If there is an error creating the file spec.public void setFile(PDFileSpecification fs)
fs
- The file specification.public COSBase getD()
public void setD(COSBase d)
d
- The destination.public boolean shouldOpenInNewWindow()
public void setOpenInNewWindow(boolean value)
value
- The flag value.