Class LinkDocumentIdEvent
java.lang.Object
com.itextpdf.commons.actions.AbstractITextEvent
com.itextpdf.commons.actions.AbstractITextConfigurationEvent
com.itextpdf.kernel.actions.events.LinkDocumentIdEvent
- All Implemented Interfaces:
-
IEvent
An event allows to associate some
SequenceId with PdfDocument.
-
Constructor Summary
ConstructorsConstructorDescriptionLinkDocumentIdEvent(PdfDocument document, AbstractIdentifiableElement identifiableElement) Creates a new instance of the event associating providedPdfDocumentwith the appropriateAbstractIdentifiableElement.LinkDocumentIdEvent(PdfDocument document, SequenceId sequenceId) Creates a new instance of the event associating providedPdfDocumentwith the appropriateSequenceId. -
Method Summary
Modifier and TypeMethodDescriptionvoiddoAction()Defines an association betweenPdfDocumentandSequenceId.Methods inherited from class com.itextpdf.commons.actions.AbstractITextConfigurationEvent
addEvent, addProcessor, getActiveProcessor, getEvents, getProcessors, registerInternalNamespace, removeProcessor
-
Constructor Details
-
LinkDocumentIdEvent
Creates a new instance of the event associating providedPdfDocumentwith the appropriateSequenceId.- Parameters:
-
document- is a document -
sequenceId- is a general identifier to be associated with the document
-
LinkDocumentIdEvent
Creates a new instance of the event associating providedPdfDocumentwith the appropriateAbstractIdentifiableElement.- Parameters:
-
document- is a document -
identifiableElement- is an identifiable element to be associated with the document
-
-
Method Details
-
doAction
public void doAction()Defines an association betweenPdfDocumentandSequenceId.- Specified by:
-
doActionin classAbstractITextConfigurationEvent
-