Class IconLabelElementOdsHandler
- java.lang.Object
-
- net.sf.jasperreports.components.iconlabel.IconLabelElementOdsHandler
-
- All Implemented Interfaces:
GenericElementHandler
,GenericElementOdsHandler
public class IconLabelElementOdsHandler extends Object implements GenericElementOdsHandler
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description IconLabelElementOdsHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exportElement(JROdsExporterContext exporterContext, JRGenericPrintElement element, JRExporterGridCell gridCell, int colIndex, int rowIndex, int emptyCols, int yCutsRow, JRGridLayout layout)
Exports a generic element.static IconLabelElementOdsHandler
getInstance()
boolean
toExport(JRGenericPrintElement element)
Decides whether a generic print element is to be exported.
-
-
-
Method Detail
-
getInstance
public static IconLabelElementOdsHandler getInstance()
-
exportElement
public void exportElement(JROdsExporterContext exporterContext, JRGenericPrintElement element, JRExporterGridCell gridCell, int colIndex, int rowIndex, int emptyCols, int yCutsRow, JRGridLayout layout)
Description copied from interface:GenericElementOdsHandler
Exports a generic element.Access to the exporter output and environment is provided via the
JROdsExporterContext
argument.- Specified by:
exportElement
in interfaceGenericElementOdsHandler
- Parameters:
exporterContext
- the exporter contextelement
- 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 interfaceGenericElementHandler
- Parameters:
element
- the element- Returns:
- whether the element is to be exported or skipped
-
-