public final class

LaunchAction

extends Action
java.lang.Object
   ↳ com.pspdfkit.annotations.actions.Action
     ↳ com.pspdfkit.annotations.actions.LaunchAction

Class Overview

Represents an action to launch an external application or file.

Summary

Public Constructors
LaunchAction(String path)
Creates action instance.
LaunchAction(String path, List<Action> subActions)
Creates action instance.
Public Methods
boolean equals(Object o)
String getPath()
Path to the application that shall be launched or the document that shall be opened or printed.
ActionType getType()
Returns type of action to make down-casting easier.
int hashCode()
String toString()
[Expand]
Inherited Methods
From class com.pspdfkit.annotations.actions.Action
From class java.lang.Object

Public Constructors

public LaunchAction (String path)

Creates action instance.

Parameters
path Path to the application that shall be launched or the document that shall be opened or printed.

public LaunchAction (String path, List<Action> subActions)

Creates action instance.

Parameters
path Path to the application that shall be launched or the document that shall be opened or printed.
subActions List of sub-actions of this action.

Public Methods

public boolean equals (Object o)

public String getPath ()

Path to the application that shall be launched or the document that shall be opened or printed.

public ActionType getType ()

Returns type of action to make down-casting easier.

Returns
  • Type of this action.

public int hashCode ()

public String toString ()