public final class

ActionSender

extends Object
java.lang.Object
   ↳ com.pspdfkit.annotations.actions.ActionSender

Class Overview

Object that triggered the execution of action, such as an annotation or a form element.

Summary

Public Constructors
ActionSender(Annotation annotation)
Creates instance of action sender.
ActionSender(FormElement formElement)
Creates instance of action sender.
Public Methods
boolean equals(Object o)
Annotation getAnnotation()
The annotation that triggered action execution.
FormElement getFormElement()
The form element that triggered action execution.
int getPageIndex()
The page index of this action sender.
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ActionSender (Annotation annotation)

Creates instance of action sender.

Parameters
annotation The annotation that triggered action execution.

public ActionSender (FormElement formElement)

Creates instance of action sender.

Parameters
formElement The form element that triggered action execution.

Public Methods

public boolean equals (Object o)

public Annotation getAnnotation ()

The annotation that triggered action execution.

Returns
  • The annotation that triggered action execution, null if action was not triggered by annotation.

public FormElement getFormElement ()

The form element that triggered action execution.

Returns
  • The form element that triggered action execution, null if action was not triggered by form element.

public int getPageIndex ()

The page index of this action sender.

Returns

public int hashCode ()