Class AbstractPdfDocumentEvent

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private PdfDocument document  
      protected java.lang.String type
      A type of event.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractPdfDocumentEvent​(java.lang.String type)
      Creates an event of the specified type.
    • Field Detail

      • type

        protected java.lang.String type
        A type of event.
    • Constructor Detail

      • AbstractPdfDocumentEvent

        protected AbstractPdfDocumentEvent​(java.lang.String type)
        Creates an event of the specified type.
        Parameters:
        type - the type of event
    • Method Detail

      • getType

        public java.lang.String getType()
        Returns the type of this event.
        Returns:
        type of this event
      • getDocument

        public PdfDocument getDocument()
        Retrieves the document associated with this event.
        Returns:
        PdfDocument that triggered this event