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 intercept callback
static ActionUtils getInstance()
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 intercept callback

Returns
  • action intercept callback

public static ActionUtils getInstance ()

public void setActionInterceptCallback (ActionUtils.ActionInterceptCallback callback)

Sets Action intercept callback

Parameters
callback ActionInterceptCallback