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
| Name | Type | Access | Description |
|---|---|---|---|
onExit | PdfAction | Read | Returns the action triggered when the cursor exits the annotation area. |
onEnter | PdfAction | Read | Returns the action triggered when the cursor enters the annotation area. |
onPressMouseBtn | PdfAction | Read | Returns the action triggered when the mouse button is pressed. |
Methods
| Signature | Description |
|---|---|
AnnotationActionCollection() | Creates an empty annotation action collection. |
add(action: PdfAction) | Adds an action to this collection. |
size() → int | Returns the number of actions in this collection. |
get(index: int) → PdfAction | Returns the action at the specified index. |
getOnExit() → PdfAction | Returns 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() → PdfAction | Returns 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() → PdfAction | Returns the action triggered when the mouse button is pressed. |
setOnPressMouseBtn(action: PdfAction) | Sets the action triggered when the mouse button is pressed. |