public class MapElementOdsHandler extends Object implements GenericElementOdsHandler
| Constructor and Description |
|---|
MapElementOdsHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
exportElement(JROdsExporterContext exporterContext,
JRGenericPrintElement element,
JRExporterGridCell gridCell)
Exports a generic element.
|
JRPrintImage |
getImage(JROdsExporterContext exporterContext,
JRGenericPrintElement element)
Creates an equivalent image of the
JRGenericPrintElement element to be exported instead. |
static MapElementOdsHandler |
getInstance() |
boolean |
toExport(JRGenericPrintElement element)
Decides whether a generic print element is to be exported.
|
public static MapElementOdsHandler getInstance()
public void exportElement(JROdsExporterContext exporterContext, JRGenericPrintElement element, JRExporterGridCell gridCell)
GenericElementOdsHandler
Access to the exporter output and environment is provided via the
JROdsExporterContext argument.
exportElement in interface GenericElementOdsHandlerexporterContext - the exporter contextelement - the generic element to exportpublic JRPrintImage getImage(JROdsExporterContext exporterContext, JRGenericPrintElement element) throws JRException
GenericElementOdsHandlerJRGenericPrintElement element to be exported instead.getImage in interface GenericElementOdsHandlerelement - the generic element to exportJRExceptionpublic boolean toExport(JRGenericPrintElement element)
GenericElementHandlertoExport in interface GenericElementHandlerelement - the elementCopyright © 2012. All Rights Reserved.