Class IconLabelElementXlsHandler
java.lang.Object
net.sf.jasperreports.poi.components.iconlabel.IconLabelElementXlsHandler
- All Implemented Interfaces:
GenericElementHandler
,GenericElementXlsHandler
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
exportElement
(JRXlsExporterContext exporterContext, JRGenericPrintElement element, JRExporterGridCell gridCell, int colIndex, int rowIndex, int emptyCols, int yCutsRow, JRGridLayout layout) Exports a generic element.static IconLabelElementXlsHandler
boolean
toExport
(JRGenericPrintElement element) Decides whether a generic print element is to be exported.
-
Constructor Details
-
IconLabelElementXlsHandler
public IconLabelElementXlsHandler()
-
-
Method Details
-
getInstance
-
exportElement
public void exportElement(JRXlsExporterContext exporterContext, JRGenericPrintElement element, JRExporterGridCell gridCell, int colIndex, int rowIndex, int emptyCols, int yCutsRow, JRGridLayout layout) Description copied from interface:GenericElementXlsHandler
Exports a generic element.Access to the exporter output and environment is provided via the
JRXlsExporterContext
argument.- Specified by:
exportElement
in interfaceGenericElementXlsHandler
- Parameters:
exporterContext
- the exporter contextelement
- the generic element to export
-
toExport
Description copied from interface:GenericElementHandler
Decides whether a generic print element is to be exported.- Specified by:
toExport
in interfaceGenericElementHandler
- Parameters:
element
- the element- Returns:
- whether the element is to be exported or skipped
-