Package com.itextpdf.commons.actions
Class AbstractProductITextEvent
java.lang.Object
com.itextpdf.commons.actions.AbstractITextEvent
com.itextpdf.commons.actions.AbstractProductITextEvent
- All Implemented Interfaces:
-
IEvent
- Direct Known Subclasses:
-
AbstractContextBasedITextEvent
,AbstractStatisticsEvent
Abstract class which defines general product events by encapsulating
ProductData
of the product which generated event. Only for internal usage.
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractProductITextEvent
(ProductData productData) Creates instance of abstract product iText event based on passed product data. -
Method Summary
Modifier and TypeMethodDescriptionGets a product data which generated the event.Gets a name of product which generated the event.
-
Constructor Details
-
AbstractProductITextEvent
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
Gets a product data which generated the event.- Returns:
- information about the product
-
getProductName
Gets a name of product which generated the event.- Returns:
- product name
-