public class LaunchAction extends Action
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_TYPE_DESCRIPTION |
Constructor and Description |
---|
LaunchAction(String fileName)
Constructs the action with the give file name.
|
Modifier and Type | Method and Description |
---|---|
String |
getActionType()
Returns the action type.
|
String |
getActionTypeDesc()
Returns the action type description
|
String |
getFileName()
Returns the name of the file to launch in the PDF file specification format.
|
boolean |
isNewWindow()
A flag specifying whether to open the destination document in a new
window.
|
void |
setNewWindow(boolean newWindow)
A flag specifying whether to open the destination document in a new
window.
|
String |
toString()
Returns the description of the action.
|
getNextAction, setNextAction
public static String ACTION_TYPE_DESCRIPTION
public LaunchAction(String fileName)
fileName
- The name of the file to launch following the PDF file specification format.
public String getFileName()
public String getActionType()
getActionType
in class Action
public String getActionTypeDesc()
getActionTypeDesc
in class Action
public String toString()
public void setNewWindow(boolean newWindow)
newWindow
- public boolean isNewWindow()