Class FIXGRIDDummyOdsExporter
java.lang.Object
org.eclnt.jsfserver.elements.util.FIXGRIDDummyOdsExporter
- All Implemented Interfaces:
Serializable,IFIXGRIDOdsExporter,IFIXGRIDSpreadSheetExporter
This exporter is a "place holder" when ODS libraries are not available in the
runtime environment - and the "real" exporter
FIXGRIDOdsExporter is
not available as consequence.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]exportGrid(FIXGRIDBinding fixgrid, List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo> columns, List<List<FIXGRIDBinding.FormattedValue>> data, boolean selctedItemsOnly) Main method for exporting.floatintvoidsetColumnSizeFactor(float columnSizeFactor) There is a calculation of column widths which is based in the width definition inside the FIXGRID component.voidsetExportInfoProvider(IFIXGRIDExportInfoProvider exportInfoProvider) Optional call back interface which allows the exporter to get more information about individual data rows/cells.voidsetGridTitle(String title) Setting of title text that is printed before the grid.voidsetMaxNumberOfGridRows(int maxNumberOfGridRows)
-
Constructor Details
-
FIXGRIDDummyOdsExporter
public FIXGRIDDummyOdsExporter()
-
-
Method Details
-
setGridTitle
Description copied from interface:IFIXGRIDSpreadSheetExporterSetting of title text that is printed before the grid.- Specified by:
setGridTitlein interfaceIFIXGRIDSpreadSheetExporter
-
getGridTitle
-
setColumnSizeFactor
public void setColumnSizeFactor(float columnSizeFactor) Description copied from interface:IFIXGRIDSpreadSheetExporterThere is a calculation of column widths which is based in the width definition inside the FIXGRID component. You can influence this calculation by assigning a factor. The calculated width is multiplied with the factor after calculation. The default value of the factor is 1f representing "100%".- Specified by:
setColumnSizeFactorin interfaceIFIXGRIDSpreadSheetExporter
-
getColumnSizeFactor
public float getColumnSizeFactor()- Specified by:
getColumnSizeFactorin interfaceIFIXGRIDSpreadSheetExporter
-
getMaxNumberOfGridRows
public int getMaxNumberOfGridRows()- Specified by:
getMaxNumberOfGridRowsin interfaceIFIXGRIDSpreadSheetExporter
-
setMaxNumberOfGridRows
public void setMaxNumberOfGridRows(int maxNumberOfGridRows) - Specified by:
setMaxNumberOfGridRowsin interfaceIFIXGRIDSpreadSheetExporter
-
exportGrid
public byte[] exportGrid(FIXGRIDBinding fixgrid, List<org.eclnt.jsfserver.elements.impl.FIXGRIDComponent.ColumnInfo> columns, List<List<FIXGRIDBinding.FormattedValue>> data, boolean selctedItemsOnly) Main method for exporting.- Specified by:
exportGridin interfaceIFIXGRIDSpreadSheetExporter
-
setExportInfoProvider
Description copied from interface:IFIXGRIDSpreadSheetExporterOptional call back interface which allows the exporter to get more information about individual data rows/cells.- Specified by:
setExportInfoProviderin interfaceIFIXGRIDSpreadSheetExporter
-