AnnotationActionCollection
Vue de l’ensemble
‘AnnotationActionCollection’ est une classe dans Aspose.PDF FOSS pour Java.
Il représente une collection d’actions associées à un annotation (ISO 32000-1:2008, section 12.6.3).
Cette classe fournit 10 méthodes pour travailler avec des objets AnnotationActionCollection dans les programmes Java. Les méthodologies disponibles comprennent: AnnotationsActionCollection, add , ‘get;getOnEnter; getOnPressMouseBtn : setOnEnter: setonExit. tous les membres publics sont accessibles à toute application Java après l'installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : onEnte’, unExite et ` onPressMusebt.
Propriétés
| 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. |
méthodes
| 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. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise