Class AbstractPdfDocumentEvent

java.lang.Object
com.itextpdf.kernel.pdf.event.AbstractPdfDocumentEvent
All Implemented Interfaces:
IEvent
Direct Known Subclasses:
PdfDocumentEvent, SignatureContainerGenerationEvent, SignatureDocumentClosingEvent

public abstract class AbstractPdfDocumentEvent extends Object implements IEvent
Describes abstract PDF document event of the specified type.

Use PdfDocument.dispatchEvent(AbstractPdfDocumentEvent) to fire an event and PdfDocument.addEventHandler(String, AbstractPdfDocumentEventHandler) to register AbstractPdfDocumentEventHandler handler for that type of event.

  • Field Details

    • type

      protected String type
      A type of event.
  • Constructor Details

    • AbstractPdfDocumentEvent

      protected AbstractPdfDocumentEvent (String type)
      Creates an event of the specified type.
      Parameters:
      type - the type of event
  • Method Details