Class PoiTableUtilities


  • @Service(org.tentackle.fx.rdc.table.TableUtilities.class)
    @ClasspathFirst(org.tentackle.fx.rdc.table.TableUtilities.class)
    public class PoiTableUtilities
    extends org.tentackle.fx.rdc.table.TableUtilities
    Table-related utility methods with POI extension to create XLS files.
    Author:
    harald
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File selectSpreadsheetFile​(java.lang.String tableName, javafx.stage.Stage owner)  
      <S> void toSpreadsheet​(org.tentackle.fx.component.FxTableView<S> table, java.io.File file, boolean onlySelected)
      Converts the table to a spreadsheet file.
      • Methods inherited from class org.tentackle.fx.rdc.table.TableUtilities

        createTableConfiguration, getInstance, print, selectXmlFile, toXml
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PoiTableUtilities

        public PoiTableUtilities()
    • Method Detail

      • selectSpreadsheetFile

        public java.io.File selectSpreadsheetFile​(java.lang.String tableName,
                                                  javafx.stage.Stage owner)
        Overrides:
        selectSpreadsheetFile in class org.tentackle.fx.rdc.table.TableUtilities
      • toSpreadsheet

        public <S> void toSpreadsheet​(org.tentackle.fx.component.FxTableView<S> table,
                                      java.io.File file,
                                      boolean onlySelected)
        Converts the table to a spreadsheet file.
        Overrides:
        toSpreadsheet in class org.tentackle.fx.rdc.table.TableUtilities
        Type Parameters:
        S - the row type
        Parameters:
        table - the table view
        file - the output file
        onlySelected - true if export only selected rows