Class ExcelTable<E>

java.lang.Object
com.amalgamasimulation.excel.Table<E>
com.amalgamasimulation.excel.ExcelTable<E>

public class ExcelTable<E> extends Table<E>
  • Method Details

    • setColors

      public ExcelTable<E> setColors(Color defaultTitleBackgroundColor, Color defaultDataBackgroundColor, Color defaultBorderLineColor)
    • isAutoSizeColumns

      public boolean isAutoSizeColumns()
    • setAutoSizeColumns

      public ExcelTable<E> setAutoSizeColumns(boolean isAutoSizeColumns)
    • setNameRowHeight

      public ExcelTable<E> setNameRowHeight(int nameRowHeight)
    • setHeaderRowHeight

      public ExcelTable<E> setHeaderRowHeight(int headerRowHeight)
    • setFreezeHeader

      public ExcelTable<E> setFreezeHeader(boolean freezeHeader)
    • setFreezeColumn

      public ExcelTable<E> setFreezeColumn(int amountFreezeColumn)
    • addColumn

      public <T> ExcelTableColumn<E,T> addColumn(String name, Function<E,T> extractor)
      Specified by:
      addColumn in class Table<E>
    • addColumn

      public <T> ExcelTableColumn<E,T> addColumn(String name, String header, Function<E,T> extractor)
      Specified by:
      addColumn in class Table<E>
    • getExcelFile

      public ExcelFile getExcelFile()
    • getSheet

      public org.apache.poi.xssf.usermodel.XSSFSheet getSheet()
    • getElements

      public List<E> getElements()
    • getColumnIndex

      public int getColumnIndex(ExcelTableColumn<?,?> column)
    • generateTable

      protected void generateTable(Supplier<Boolean> interrupt)
    • getHeaderStyle

      protected org.apache.poi.xssf.usermodel.XSSFCellStyle getHeaderStyle()
    • getNameCellStyle

      protected org.apache.poi.xssf.usermodel.XSSFCellStyle getNameCellStyle()
    • getDefaultTitleBackgroundColor

      public Color getDefaultTitleBackgroundColor()
    • getDefaultDataBackgroundColor

      public Color getDefaultDataBackgroundColor()
    • getDefaultBorderLineColor

      public Color getDefaultBorderLineColor()
    • getColumn

      public ExcelTableColumn<?,?> getColumn(String columnName)
    • getColumns

      public List<ExcelTableColumn<E,?>> getColumns()
      Specified by:
      getColumns in class Table<E>
    • addMergedRegion

      public void addMergedRegion(int firstRow, int lastRow, int firstCol, int lastCol)
    • setTitleStyle

      public void setTitleStyle(org.apache.poi.ss.usermodel.HorizontalAlignment headerHorizontalAlignment, org.apache.poi.ss.usermodel.HorizontalAlignment nameCellHorizontalAlignment, boolean headerBold, boolean nameCellBold)
    • getHeaderHorizontalAlignment

      public org.apache.poi.ss.usermodel.HorizontalAlignment getHeaderHorizontalAlignment()
    • getNameCellHorizontalAlignment

      public org.apache.poi.ss.usermodel.HorizontalAlignment getNameCellHorizontalAlignment()