**Inheritance:**
java.lang.Object, com.aspose.pdf.BaseActionCollection com.aspose.pdf.AnnotationActionCollection, com.aspose.pdf.BaseActionCollection, com.aspose.pdf.AnnotationActionCollection

```
public final class AnnotationActionCollection extends BaseActionCollection
```

Represents the collection of annotation actions.

## Methods

| Method | Description |
| --- | --- |
| [getOnCalculate](#getOnCalculate--) | Gets an action to calculate field value. |
| [getOnClosePage](#getOnClosePage--) | Gets an action to be performed when the page containing the annotation is closed. |
| [getOnEnter](#getOnEnter--) | Gets an action to be performed when the cursor enters the annotation's active area. |
| [getOnExit](#getOnExit--) | Gets an action to be performed when the cursor exits the annotation's active area. |
| [getOnFormat](#getOnFormat--) | Gets action to be performed to format field value. |
| [getOnHidePage](#getOnHidePage--) | Gets an action to be performed when the page containing the annotation is no longer visible in the viewer application's user interface. |
| [getOnLostFocus](#getOnLostFocus--) | Gets an action to be performed when the annotation loses the input focus. |
| [getOnModifyCharacter](#getOnModifyCharacter--) | Gets an action to be performed when user modifies character of the field. |
| [getOnOpenPage](#getOnOpenPage--) | Gets an action to be performed when the page containing the annotation is opened. |
| [getOnPressMouseBtn](#getOnPressMouseBtn--) | Gets an action to be performed when the mouse button is pressed inside the annotation's active area. |
| [getOnReceiveFocus](#getOnReceiveFocus--) | Gets an action to be performed when the annotation receives the input focus. |
| [getOnReleaseMouseBtn](#getOnReleaseMouseBtn--) | Gets an action to be performed when the mouse button is released inside the annotation's active area. |
| [getOnShowPage](#getOnShowPage--) | Get an action to be performed when the page containing the annotation becomes visible in the viewer application's user interface. |
| [getOnValidate](#getOnValidate--) | Gets an action to be performed when user changes contents of the field. |
| [setOnCalculate](#setOnCalculate-com.aspose.pdf.PdfAction-) | Sets an action to calculate field value. |
| [setOnClosePage](#setOnClosePage-com.aspose.pdf.PdfAction-) | Sets an action to be performed when the page containing the annotation is closed. |
| [setOnEnter](#setOnEnter-com.aspose.pdf.PdfAction-) | Sets an action to be performed when the cursor enters the annotation's active area. |
| [setOnExit](#setOnExit-com.aspose.pdf.PdfAction-) | Sets an action to be performed when the cursor exits the annotation's active area. |
| [setOnFormat](#setOnFormat-com.aspose.pdf.PdfAction-) | Sets action to be performed to format field value. |
| [setOnHidePage](#setOnHidePage-com.aspose.pdf.PdfAction-) | Sets an action to be performed when the page containing the annotation is no longer visible in the viewer application's user interface. |
| [setOnLostFocus](#setOnLostFocus-com.aspose.pdf.PdfAction-) | Sets an action to be performed when the annotation loses the input focus. |
| [setOnModifyCharacter](#setOnModifyCharacter-com.aspose.pdf.PdfAction-) | Sets an action to be performed when user modifies character of the field. |
| [setOnOpenPage](#setOnOpenPage-com.aspose.pdf.PdfAction-) | Sets an action to be performed when the page containing the annotation is opened. |
| [setOnPressMouseBtn](#setOnPressMouseBtn-com.aspose.pdf.PdfAction-) | Sets an action to be performed when the mouse button is pressed inside the annotation's active area. |
| [setOnReceiveFocus](#setOnReceiveFocus-com.aspose.pdf.PdfAction-) | Sets an action to be performed when the annotation receives the input focus. |
| [setOnReleaseMouseBtn](#setOnReleaseMouseBtn-com.aspose.pdf.PdfAction-) | Sets an action to be performed when the mouse button is released inside the annotation's active area. |
| [setOnShowPage](#setOnShowPage-com.aspose.pdf.PdfAction-) | Sets an action to be performed when the page containing the annotation becomes visible in the viewer application's user interface. |
| [setOnValidate](#setOnValidate-com.aspose.pdf.PdfAction-) | Sets an action to be performed when user changes contents of the field. |

### getOnCalculate {#getOnCalculate--}
```
public PdfAction getOnCalculate()
```

Gets an action to calculate field value.

**Returns:**
action to calculate field value.

### getOnClosePage {#getOnClosePage--}
```
public PdfAction getOnClosePage()
```

Gets an action to be performed when the page containing the annotation is closed.

**Returns:**
PdfAction object

### getOnEnter {#getOnEnter--}
```
public PdfAction getOnEnter()
```

Gets an action to be performed when the cursor enters the annotation's active area.

**Returns:**
PdfAction object

### getOnExit {#getOnExit--}
```
public PdfAction getOnExit()
```

Gets an action to be performed when the cursor exits the annotation's active area.

**Returns:**
PdfAction object

### getOnFormat {#getOnFormat--}
```
public PdfAction getOnFormat()
```

Gets action to be performed to format field value.

**Returns:**
action to be performed to format field value.

### getOnHidePage {#getOnHidePage--}
```
public PdfAction getOnHidePage()
```

Gets an action to be performed when the page containing the annotation is no longer visible in the viewer application's user interface.

**Returns:**
PdfAction object

### getOnLostFocus {#getOnLostFocus--}
```
public PdfAction getOnLostFocus()
```

Gets an action to be performed when the annotation loses the input focus.

**Returns:**
PdfAction object

### getOnModifyCharacter {#getOnModifyCharacter--}
```
public PdfAction getOnModifyCharacter()
```

Gets an action to be performed when user modifies character of the field.

**Returns:**
action to be performed when user modifies character of the field.

### getOnOpenPage {#getOnOpenPage--}
```
public PdfAction getOnOpenPage()
```

Gets an action to be performed when the page containing the annotation is opened.

**Returns:**
PdfAction object

### getOnPressMouseBtn {#getOnPressMouseBtn--}
```
public PdfAction getOnPressMouseBtn()
```

Gets an action to be performed when the mouse button is pressed inside the annotation's active area.

**Returns:**
PdfAction object

### getOnReceiveFocus {#getOnReceiveFocus--}
```
public PdfAction getOnReceiveFocus()
```

Gets an action to be performed when the annotation receives the input focus.

**Returns:**
PdfAction object

### getOnReleaseMouseBtn {#getOnReleaseMouseBtn--}
```
public PdfAction getOnReleaseMouseBtn()
```

Gets an action to be performed when the mouse button is released inside the annotation's active area.

**Returns:**
PdfAction object

### getOnShowPage {#getOnShowPage--}
```
public PdfAction getOnShowPage()
```

Get an action to be performed when the page containing the annotation becomes visible in the viewer application's user interface.

**Returns:**
PdfAction object

### getOnValidate {#getOnValidate--}
```
public PdfAction getOnValidate()
```

Gets an action to be performed when user changes contents of the field.

**Returns:**
action to be performed when user changes contents of the field.

### setOnCalculate {#setOnCalculate-com.aspose.pdf.PdfAction-}
Sets an action to calculate field value.

### setOnClosePage {#setOnClosePage-com.aspose.pdf.PdfAction-}
Sets an action to be performed when the page containing the annotation is closed.

### setOnEnter {#setOnEnter-com.aspose.pdf.PdfAction-}
Sets an action to be performed when the cursor enters the annotation's active area.

### setOnExit {#setOnExit-com.aspose.pdf.PdfAction-}
Sets an action to be performed when the cursor exits the annotation's active area.

### setOnFormat {#setOnFormat-com.aspose.pdf.PdfAction-}
Sets action to be performed to format field value.

### setOnHidePage {#setOnHidePage-com.aspose.pdf.PdfAction-}
Sets an action to be performed when the page containing the annotation is no longer visible in the viewer application's user interface.

### setOnLostFocus {#setOnLostFocus-com.aspose.pdf.PdfAction-}
Sets an action to be performed when the annotation loses the input focus.

### setOnModifyCharacter {#setOnModifyCharacter-com.aspose.pdf.PdfAction-}
Sets an action to be performed when user modifies character of the field.

### setOnOpenPage {#setOnOpenPage-com.aspose.pdf.PdfAction-}
Sets an action to be performed when the page containing the annotation is opened.

### setOnPressMouseBtn {#setOnPressMouseBtn-com.aspose.pdf.PdfAction-}
Sets an action to be performed when the mouse button is pressed inside the annotation's active area.

### setOnReceiveFocus {#setOnReceiveFocus-com.aspose.pdf.PdfAction-}
Sets an action to be performed when the annotation receives the input focus.

### setOnReleaseMouseBtn {#setOnReleaseMouseBtn-com.aspose.pdf.PdfAction-}
Sets an action to be performed when the mouse button is released inside the annotation's active area.

### setOnShowPage {#setOnShowPage-com.aspose.pdf.PdfAction-}
Sets an action to be performed when the page containing the annotation becomes visible in the viewer application's user interface.

### setOnValidate {#setOnValidate-com.aspose.pdf.PdfAction-}
Sets an action to be performed when user changes contents of the field.
