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 associated some
SequenceId
with PdfDocument
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final WeakReference
<PdfDocument> private final WeakReference
<SequenceId> -
Constructor Summary
ConstructorsConstructorDescriptionLinkDocumentIdEvent
(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
-
Field Details
-
document
-
sequenceId
-
-
Constructor Details
-
LinkDocumentIdEvent
Creates a new instance of the event associating providedPdfDocument
with the appropriateSequenceId
.- Parameters:
document
- is a documentsequenceId
- 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 documentidentifiableElement
- 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
-