public class PDActionEmbeddedGoTo extends PDAction
Modifier and Type | Field and Description |
---|---|
static String |
SUB_TYPE
This type of action this object represents.
|
Constructor and Description |
---|
PDActionEmbeddedGoTo()
Default constructor.
|
PDActionEmbeddedGoTo(COSDictionary a)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PDDestination |
getDestination()
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.
|
PDTargetDirectory |
getTargetDirectory()
Get the target directory.
|
void |
setDestination(PDDestination 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(OpenMode value)
This will specify whether to open the destination document in a new window.
|
void |
setTargetDirectory(PDTargetDirectory targetDirectory)
Sets the target directory.
|
getCOSObject, getNext, getSubType, getType, setNext, setSubType, setType
public static final String SUB_TYPE
public PDActionEmbeddedGoTo()
public PDActionEmbeddedGoTo(COSDictionary a)
a
- The action dictionary.public PDDestination getDestination() throws IOException
IOException
- If there is an error creating the destination.public void setDestination(PDDestination d)
d
- The destination.IllegalArgumentException
- if the destination is not a page dictionary object.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 OpenMode getOpenInNewWindow()
public void setOpenInNewWindow(OpenMode value)
value
- The flag value.public PDTargetDirectory getTargetDirectory()
public void setTargetDirectory(PDTargetDirectory targetDirectory)
targetDirectory
- the target directory.Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.