COSObjectable
, PDDestinationOrAction
public class PDActionEmbeddedGoTo extends PDAction
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
SUB_TYPE |
This type of action this object represents.
|
Constructor | Description |
---|---|
PDActionEmbeddedGoTo() |
Default constructor.
|
PDActionEmbeddedGoTo(COSDictionary a) |
Constructor.
|
Modifier and Type | Method | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCOSObject, getNext, getSubType, getType, setNext, setSubType, setType
public static final java.lang.String SUB_TYPE
public PDActionEmbeddedGoTo()
public PDActionEmbeddedGoTo(COSDictionary a)
a
- The action dictionary.public PDDestination getDestination() throws java.io.IOException
java.io.IOException
- If there is an error creating the destination.public void setDestination(PDDestination d)
d
- The destination.java.lang.IllegalArgumentException
- if the destination is not a page dictionary object.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 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. All rights reserved.