public class

ActionUtils

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.utils.ActionUtils

Class Overview

A utility class for annotation actions.

Summary

Nested Classes
interface ActionUtils.ActionInterceptCallback A intercept callback for onInterceptExecuteAction(ActionParameter, PDFViewCtrl)  
Public Constructors
ActionUtils()
Public Methods
void executeAction(ActionParameter actionParam, PDFViewCtrl pdfViewCtrl)
Executes an action on the PDF.
ActionUtils.ActionInterceptCallback getActionInterceptCallback()
Gets default package intercept callback
static ActionUtils getInstance()
static boolean isActionGoBack(Annot annot)
static void launchEmailIntent(Context context, String uri)
static void launchPhoneIntent(Context context, String uri)
static void launchWebPageIntent(Context context, String uri)
void setActionInterceptCallback(ActionUtils.ActionInterceptCallback callback)
Sets Action intercept callback
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ActionUtils ()

Public Methods

public void executeAction (ActionParameter actionParam, PDFViewCtrl pdfViewCtrl)

Executes an action on the PDF.

The PDF doc should have been locked when call this method. In addition, ToolManager's raise annotation should be handled in the caller function.

Parameters
actionParam The action parameter
pdfViewCtrl The PDFViewCtrl

public ActionUtils.ActionInterceptCallback getActionInterceptCallback ()

Gets default package intercept callback

Returns
  • action intercept callback

public static ActionUtils getInstance ()

public static boolean isActionGoBack (Annot annot)

public static void launchEmailIntent (Context context, String uri)

public static void launchPhoneIntent (Context context, String uri)

public static void launchWebPageIntent (Context context, String uri)

public void setActionInterceptCallback (ActionUtils.ActionInterceptCallback callback)

Sets Action intercept callback

Parameters
callback ActionInterceptCallback