public class PDActionRemoteGoTo extends PDAction
Modifier and Type | Field and Description |
---|---|
static String |
SUB_TYPE
This type of action this object represents.
|
Constructor and Description |
---|
PDActionRemoteGoTo()
Default constructor.
|
PDActionRemoteGoTo(COSDictionary a)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
COSBase |
getD()
This will get the destination to jump to.
|
PDFileSpecification |
getFile()
This will get the file in which the destination is located.
|
String |
getS()
Deprecated.
|
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(String s)
Deprecated.
|
boolean |
shouldOpenInNewWindow()
This will specify whether to open the destination document in a new window.
|
getCOSObject, getNext, getSubType, getType, setNext, setSubType, setType
public static final String SUB_TYPE
public PDActionRemoteGoTo()
public PDActionRemoteGoTo(COSDictionary a)
a
- The action dictionary.@Deprecated public String getS()
PDAction.getSubType()
.@Deprecated public void setS(String s)
PDAction.setSubType(java.lang.String)
.s
- The remote go-to action.public PDFileSpecification getFile() throws IOException
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.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.