Class MapElementXlsHandler
- java.lang.Object
-
- net.sf.jasperreports.components.map.MapElementXlsHandler
-
- All Implemented Interfaces:
GenericElementHandler,GenericElementXlsHandler
public class MapElementXlsHandler extends Object implements GenericElementXlsHandler
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description MapElementXlsHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexportElement(JRXlsExporterContext exporterContext, JRGenericPrintElement element, JRExporterGridCell gridCell, int colIndex, int rowIndex, int emptyCols, int yCutsRow, JRGridLayout layout)Exports a generic element.static MapElementXlsHandlergetInstance()booleantoExport(JRGenericPrintElement element)Decides whether a generic print element is to be exported.
-
-
-
Method Detail
-
getInstance
public static MapElementXlsHandler 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:GenericElementXlsHandlerExports a generic element.Access to the exporter output and environment is provided via the
JRXlsExporterContextargument.- Specified by:
exportElementin interfaceGenericElementXlsHandler- Parameters:
exporterContext- the exporter contextelement- the generic element to export
-
toExport
public boolean toExport(JRGenericPrintElement element)
Description copied from interface:GenericElementHandlerDecides whether a generic print element is to be exported.- Specified by:
toExportin interfaceGenericElementHandler- Parameters:
element- the element- Returns:
- whether the element is to be exported or skipped
-
-