Class AbstractProductITextEvent

java.lang.Object
com.itextpdf.commons.actions.AbstractITextEvent
com.itextpdf.commons.actions.AbstractProductITextEvent
All Implemented Interfaces:
IEvent
Direct Known Subclasses:
AbstractContextBasedITextEvent, AbstractStatisticsEvent

public abstract class AbstractProductITextEvent extends AbstractITextEvent
Abstract class which defines general product events by encapsulating ProductData of the product which generated event. Only for internal usage.
  • Constructor Details

    • AbstractProductITextEvent

      protected AbstractProductITextEvent (ProductData productData)
      Creates instance of abstract product iText event based on passed product data. Only for internal usage.
      Parameters:
      productData - is a description of the product which has generated an event
  • Method Details

    • getProductData

      public ProductData getProductData()
      Gets a product data which generated the event.
      Returns:
      information about the product
    • getProductName

      public String getProductName()
      Gets a name of product which generated the event.
      Returns:
      product name