| java.lang.Object | ||
| ↳ | com.pspdfkit.annotations.actions.Action | |
| ↳ | com.pspdfkit.annotations.actions.NamedAction | |
PDF action representing a special event. Examples are: go to next page, go to previous page, etc.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | NamedAction.NamedActionType | Known types of named actions in PDF documents. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
NamedAction(NamedAction.NamedActionType actionType)
Creates action instance.
| |||||||||||
|
NamedAction(NamedAction.NamedActionType actionType, List<Action> subActions)
Creates action instance.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object o) | ||||||||||
| String |
getActionString()
Internal PDF string describing this action.
| ||||||||||
| NamedAction.NamedActionType |
getNamedActionType()
Type of this action.
| ||||||||||
| ActionType |
getType()
Returns type of action to make down-casting easier.
| ||||||||||
| int | hashCode() | ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pspdfkit.annotations.actions.Action
| |||||||||||
From class
java.lang.Object
| |||||||||||
Creates action instance.
| actionType | Type of the named action. |
|---|
Creates action instance.
| actionType | Type of the named action. |
|---|---|
| subActions | List of sub-actions of this action. |
Internal PDF string describing this action.
Type of this action.
NamedAction.NamedActionType describing the action.
Returns type of action to make down-casting easier.