public class PDFLaunchAction extends PDFAction
TYPE_EMBEDDEDGOTO, TYPE_GOTO, TYPE_HIDE, TYPE_IMPORTDATA, TYPE_JAVASCRIPT, TYPE_LAUNCH, TYPE_NAMED, TYPE_REMOTEGOTO, TYPE_RENDITION, TYPE_RESETFORM, TYPE_SUBMITFORM, TYPE_UNSUPPORTED, TYPE_URI
Modifier and Type | Method and Description |
---|---|
PDFAttachment |
getAttachment()
Get attachment of launch action.
|
java.lang.String |
getDefaultPath()
Get default path of launch action.
|
java.lang.String |
getFileName()
Get file name of launch action.
|
java.lang.String |
getOperation()
Get operation.
|
java.lang.String |
getParameters()
Get parameters.
|
boolean |
isNewWindow()
Check whether a new window should be opened.
|
void |
setAttachment(PDFAttachment attachment)
Set the attachment which is the application or document to be launched.
|
void |
setDefaultPath(java.lang.String defaultPath)
Set default path of launch action.
|
void |
setFileName(java.lang.String fileName)
Set file name of launch action.
|
void |
setNewWindow(boolean isNewWindow)
Set a new window which should be opened or not.
|
void |
setOperation(java.lang.String operation)
Set operation.
|
void |
setParameters(java.lang.String parameters)
Set parameters.
|
createEmbeddedGotoAction, createEmbeddedGotoAction, createGotoAction, createHideAction, createImportDataAction, createJavascriptAction, createLaunchAction, createNamedAction, createRemoteGotoAction, createRemoteGotoAction, createResetFormAction, createSubmitFormAction, createURIAction, getHandle, getType, release
public PDFAttachment getAttachment() throws PDFException
PDFAttachment
object which is the application or document to be launched.PDFException
- For more definitions please see definitions
PDFException.ERRCODE_XXX
.PDFException
,
PDFAttachment
public void setAttachment(PDFAttachment attachment) throws PDFException
attachment
- A PDFAttachment
object which is the application or document to be launched.PDFException
- For more definitions please see definitions
PDFException.ERRCODE_XXX
.PDFException
,
PDFAttachment
public java.lang.String getFileName() throws PDFException
PDFException
- For more definitions please see definitions
PDFException.ERRCODE_XXX
.PDFException
public void setFileName(java.lang.String fileName) throws PDFException
fileName
- The specified file name.PDFException
- For more definitions please see definitions
PDFException.ERRCODE_XXX
.PDFException
public java.lang.String getDefaultPath() throws PDFException
PDFException
- For more definitions please see definitions
PDFException.ERRCODE_XXX
.PDFException
public void setDefaultPath(java.lang.String defaultPath) throws PDFException
defaultPath
- The specified default path.PDFException
- For more definitions please see definitions
PDFException.ERRCODE_XXX
.PDFException
public java.lang.String getOperation() throws PDFException
PDFException
- For more definitions please see definitions
PDFException.ERRCODE_XXX
.PDFException
public void setOperation(java.lang.String operation) throws PDFException
operation
- Operation to perform.
It should be one of the following: PDFException
- For more definitions please see definitions
PDFException.ERRCODE_XXX
.PDFException
public java.lang.String getParameters() throws PDFException
PDFException
- For more definitions please see definitions
PDFException.ERRCODE_XXX
.PDFException
public void setParameters(java.lang.String parameters) throws PDFException
parameters
- A parameter string to be passed to the application.PDFException
- For more definitions please see definitions
PDFException.ERRCODE_XXX
.PDFException
public boolean isNewWindow() throws PDFException
PDFException
- For more definitions please see definitions
PDFException.ERRCODE_XXX
.PDFException
public void setNewWindow(boolean isNewWindow) throws PDFException
isNewWindow
- Whether a new window should be opened.PDFException
- For more definitions please see definitions
PDFException.ERRCODE_XXX
.PDFException