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.
|
OpenMode |
getOpenInNewWindow()
This will specify whether to open the destination document in a new window, in the same
window, or behave in accordance with the current user preference.
|
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)
Deprecated.
|
void |
setOpenInNewWindow(OpenMode value)
This will specify whether to open the destination document in a new window.
|
void |
setS(String s)
Deprecated.
|
boolean |
shouldOpenInNewWindow()
Deprecated.
|
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.@Deprecated public boolean shouldOpenInNewWindow()
getOpenInNewWindow()
@Deprecated public void setOpenInNewWindow(boolean value)
setOpenInNewWindow(OpenMode)
value
- The flag value.public OpenMode getOpenInNewWindow()
public void setOpenInNewWindow(OpenMode value)
value
- The flag value.Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.