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
ConstructorDescriptionLinkDocumentIdEvent
(PdfDocument document, AbstractIdentifiableElement identifiableElement) Creates a new instance of the event associating providedPdfDocument
with the appropriateAbstractIdentifiableElement
.LinkDocumentIdEvent
(PdfDocument document, SequenceId sequenceId) Creates a new instance of the event associating providedPdfDocument
with the appropriateSequenceId
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
doAction()
Defines an association betweenPdfDocument
andSequenceId
.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 providedPdfDocument
with 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 providedPdfDocument
with 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 betweenPdfDocument
andSequenceId
.- Specified by:
-
doAction
in classAbstractITextConfigurationEvent
-