AnnotationActionCollection

AnnotationActionCollection

Overview

AnnotationActionCollection is a class in Aspose.Pdf FOSS for Java.

Represents a collection of actions associated with an annotation (ISO 32000-1:2008, Section 12.6.3).

Properties

NameTypeAccessDescription
onExitPdfActionReadReturns the action triggered when the cursor exits the annotation area.
onEnterPdfActionReadReturns the action triggered when the cursor enters the annotation area.
onPressMouseBtnPdfActionReadReturns the action triggered when the mouse button is pressed.

Methods

SignatureDescription
AnnotationActionCollection()Creates an empty annotation action collection.
add(action: PdfAction)Adds an action to this collection.
size()intReturns the number of actions in this collection.
get(index: int)PdfActionReturns the action at the specified index.
getOnExit()PdfActionReturns the action triggered when the cursor exits the annotation area.
setOnExit(action: PdfAction)Sets the action triggered when the cursor exits the annotation area.
getOnEnter()PdfActionReturns the action triggered when the cursor enters the annotation area.
setOnEnter(action: PdfAction)Sets the action triggered when the cursor enters the annotation area.
getOnPressMouseBtn()PdfActionReturns the action triggered when the mouse button is pressed.
setOnPressMouseBtn(action: PdfAction)Sets the action triggered when the mouse button is pressed.

See Also