public class IconLabelElementXlsxHandler extends Object implements GenericElementXlsxHandler
| Constructor and Description |
|---|
IconLabelElementXlsxHandler() |
| 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 IconLabelElementXlsxHandler |
getInstance() |
boolean |
toExport(JRGenericPrintElement element)
Decides whether a generic print element is to be exported.
|
public static IconLabelElementXlsxHandler getInstance()
public void exportElement(JRXlsxExporterContext exporterContext, JRGenericPrintElement element, JRExporterGridCell gridCell, int colIndex, int rowIndex) throws JRException
GenericElementXlsxHandler
Access to the exporter output and environment is provided via the
JRXlsxExporterContext argument.
exportElement in interface GenericElementXlsxHandlerexporterContext - the exporter contextelement - the generic element to exportJRExceptionpublic boolean toExport(JRGenericPrintElement element)
GenericElementHandlertoExport in interface GenericElementHandlerelement - the elementpublic JRPrintImage getImage(JRXlsxExporterContext exporterContext, JRGenericPrintElement element) throws JRException
GenericElementXlsxHandlerJRGenericPrintElement element to be exported instead.getImage in interface GenericElementXlsxHandlerelement - the generic element to exportJRExceptionCopyright © 2017. All rights reserved.