|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IActionHandler
An object that can process an action definition in a defined event context.
An action handler is registered with the action handler factory in the action framework and exists ONCE in the system. The handler should be prepared to run in a threaded environment and should not be stateful.
Method Summary | |
---|---|
COSName |
getActionType()
The type of actions this handler can process. |
void |
process(TriggerEvent event,
COSObject actionDefinition)
Perform the actionDefinition in the context of
event . |
Method Detail |
---|
COSName getActionType()
This is for example /JavaScript for JavaScript or /GoTo for a jump to another destination in the document.
void process(TriggerEvent event, COSObject actionDefinition) throws ActionException
actionDefinition
in the context of
event
.
event
- The cause of the processing.actionDefinition
- The processing definition.
ActionException
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |