net.sf.jasperreports.components.map
Class MapElementJExcelApiHandler

java.lang.Object
  extended by net.sf.jasperreports.components.map.MapElementJExcelApiHandler
All Implemented Interfaces:
GenericElementHandler, GenericElementJExcelApiHandler

public class MapElementJExcelApiHandler
extends java.lang.Object
implements GenericElementJExcelApiHandler

Version:
$Id: MapElementJExcelApiHandler.java 5180 2012-03-29 13:23:12Z teodord $
Author:
sanda zaharia (shertage@users.sourceforge.net)

Constructor Summary
MapElementJExcelApiHandler()
           
 
Method Summary
 void exportElement(JExcelApiExporterContext exporterContext, JRGenericPrintElement element, JRExporterGridCell gridCell, int colIndex, int rowIndex, int emptyCols, int yCutsRow, JRGridLayout layout)
          Exports a generic element.
static MapElementJExcelApiHandler getInstance()
           
 boolean toExport(JRGenericPrintElement element)
          Decides whether a generic print element is to be exported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapElementJExcelApiHandler

public MapElementJExcelApiHandler()
Method Detail

getInstance

public static MapElementJExcelApiHandler getInstance()

exportElement

public void exportElement(JExcelApiExporterContext exporterContext,
                          JRGenericPrintElement element,
                          JRExporterGridCell gridCell,
                          int colIndex,
                          int rowIndex,
                          int emptyCols,
                          int yCutsRow,
                          JRGridLayout layout)
Description copied from interface: GenericElementJExcelApiHandler
Exports a generic element.

Access to the exporter output and environment is provided via the JExcelApiExporterContext argument.

Specified by:
exportElement in interface GenericElementJExcelApiHandler
Parameters:
exporterContext - the exporter context
element - the generic element to export

toExport

public boolean toExport(JRGenericPrintElement element)
Description copied from interface: GenericElementHandler
Decides whether a generic print element is to be exported.

Specified by:
toExport in interface GenericElementHandler
Parameters:
element - the element
Returns:
whether the element is to be exported or skipped


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com