NamedAction
Overview
NamedAction is a class in Aspose.PDF FOSS for Java.
Inherits from: PdfAction.
Named action — predefined action (ISO 32000-1:2008, §12.6.4.11).
This class provides 7 methods for working with NamedAction objects in Java programs.
Available methods include: NamedAction, fromDictionary, getActionName, getNext, getPdfDictionary, getType.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: actionName, next, pdfDictionary, type.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
actionName | String | Read | Returns the action name. |
pdfDictionary | PdfDictionary | Read | Returns the underlying action dictionary. |
type | String | Read | Returns the action type (/S entry). |
next | PdfAction | Read | Returns the next action (/Next), if any. |
Methods
| Signature | Description |
|---|---|
NamedAction(name: String) | Creates a NamedAction with the given name. |
NamedAction(dict: PdfDictionary) | Parses a NamedAction from a dictionary. |
getActionName() → String | Returns the action name. |
getPdfDictionary() → PdfDictionary | Returns the underlying action dictionary. |
getType() → String | Returns the action type (/S entry). |
getNext() → PdfAction | Returns the next action (/Next), if any. |
fromDictionary(dict: PdfDictionary, doc: Document) → PdfAction | Factory: creates the appropriate PdfAction subclass from a dictionary. |