public final class LaunchAction extends PdfAction
Represents a launch action that launches an application or opens or prints a document.
Constructor and Description |
---|
LaunchAction(IDocument document,
String file)
Creates a launch action.
|
LaunchAction(String file)
Creates a launch action.
|
Modifier and Type | Method and Description |
---|---|
String |
getFile()
Gets the application to be launched or the document to be opened or printed.
|
int |
getNewWindow()
Gets a flag specifying whether to open the destination document in a new window (affect PDF
documents only).
|
void |
setFile(String value)
Sets the application to be launched or the document to be opened or printed.
|
void |
setNewWindow(int value)
Sets a flag specifying whether to open the destination document in a new window (affect PDF
documents only).
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public LaunchAction(String file)
Creates a launch action.
file
- The file to be launched.public String getFile()
Gets the application to be launched or the document to be opened or printed.
public void setFile(String value)
Sets the application to be launched or the document to be opened or printed.
value
- String valuepublic int getNewWindow()
Gets a flag specifying whether to open the destination document in a new window (affect PDF documents only).
ExtendedBoolean
public void setNewWindow(int value)
Sets a flag specifying whether to open the destination document in a new window (affect PDF documents only). ExtendedBoolean
value
- ExtendedBoolean elementExtendedBoolean