|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfbox.pdmodel.interactive.action.type.PDAction
org.pdfbox.pdmodel.interactive.action.type.PDActionRemoteGoTo
public class PDActionRemoteGoTo
This represents a remote go-to action that can be executed in a PDF document.
| Field Summary | |
|---|---|
static java.lang.String |
SUB_TYPE
This type of action this object represents. |
| Fields inherited from class org.pdfbox.pdmodel.interactive.action.type.PDAction |
|---|
action, TYPE |
| Constructor Summary | |
|---|---|
PDActionRemoteGoTo()
Default constructor. |
|
PDActionRemoteGoTo(COSDictionary a)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.pdfbox.pdmodel.interactive.action.type.PDAction |
|---|
getNext, getSubType, getType, setNext, setSubType, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SUB_TYPE
| Constructor Detail |
|---|
public PDActionRemoteGoTo()
public PDActionRemoteGoTo(COSDictionary a)
a - The action dictionary.| Method Detail |
|---|
public COSBase getCOSObject()
getCOSObject in interface COSObjectablegetCOSObject in class PDActionpublic COSDictionary getCOSDictionary()
getCOSDictionary in class PDActionpublic 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||