public class MapElementXlsxHandler extends Object implements GenericElementXlsxHandler
Constructor and Description |
---|
MapElementXlsxHandler() |
Modifier and Type | Method and Description |
---|---|
void |
exportElement(JRXlsxExporterContext exporterContext,
JRGenericPrintElement element,
JRExporterGridCell gridCell,
int colIndex,
int rowIndex)
Exports a generic element.
|
JRPrintImage |
getImage(JRXlsxExporterContext exporterContext,
JRGenericPrintElement element)
Creates an equivalent image of the
JRGenericPrintElement element to be exported instead. |
static MapElementXlsxHandler |
getInstance() |
boolean |
toExport(JRGenericPrintElement element)
Decides whether a generic print element is to be exported.
|
public static MapElementXlsxHandler getInstance()
public void exportElement(JRXlsxExporterContext exporterContext, JRGenericPrintElement element, JRExporterGridCell gridCell, int colIndex, int rowIndex)
GenericElementXlsxHandler
Access to the exporter output and environment is provided via the
JRXlsxExporterContext
argument.
exportElement
in interface GenericElementXlsxHandler
exporterContext
- the exporter contextelement
- the generic element to exportpublic boolean toExport(JRGenericPrintElement element)
GenericElementHandler
toExport
in interface GenericElementHandler
element
- the elementpublic JRPrintImage getImage(JRXlsxExporterContext exporterContext, JRGenericPrintElement element) throws JRException
GenericElementXlsxHandler
JRGenericPrintElement
element to be exported instead.getImage
in interface GenericElementXlsxHandler
element
- the generic element to exportJRException
Copyright © 2017. All rights reserved.