Package com.amalgamasimulation.excel
Class ExcelTable<E>
java.lang.Object
com.amalgamasimulation.excel.Table<E>
com.amalgamasimulation.excel.ExcelTable<E>
-
Method Summary
Modifier and TypeMethodDescription<T> ExcelTableColumn<E, T> <T> ExcelTableColumn<E, T> voidaddMergedRegion(int firstRow, int lastRow, int firstCol, int lastCol) protected voidgenerateTable(Supplier<Boolean> interrupt) ExcelTableColumn<?, ?> intgetColumnIndex(ExcelTableColumn<?, ?> column) List<ExcelTableColumn<E, ?>> org.apache.poi.ss.usermodel.HorizontalAlignmentprotected org.apache.poi.xssf.usermodel.XSSFCellStyleorg.apache.poi.ss.usermodel.HorizontalAlignmentprotected org.apache.poi.xssf.usermodel.XSSFCellStyleorg.apache.poi.xssf.usermodel.XSSFSheetgetSheet()booleansetAutoSizeColumns(boolean isAutoSizeColumns) setColors(Color defaultTitleBackgroundColor, Color defaultDataBackgroundColor, Color defaultBorderLineColor) setFreezeColumn(int amountFreezeColumn) setFreezeHeader(boolean freezeHeader) setHeaderRowHeight(int headerRowHeight) setNameRowHeight(int nameRowHeight) voidsetTitleStyle(org.apache.poi.ss.usermodel.HorizontalAlignment headerHorizontalAlignment, org.apache.poi.ss.usermodel.HorizontalAlignment nameCellHorizontalAlignment, boolean headerBold, boolean nameCellBold)
-
Method Details
-
setColors
public ExcelTable<E> setColors(Color defaultTitleBackgroundColor, Color defaultDataBackgroundColor, Color defaultBorderLineColor) -
isAutoSizeColumns
public boolean isAutoSizeColumns() -
setAutoSizeColumns
-
setNameRowHeight
-
setHeaderRowHeight
-
setFreezeHeader
-
setFreezeColumn
-
addColumn
-
addColumn
-
getExcelFile
-
getSheet
public org.apache.poi.xssf.usermodel.XSSFSheet getSheet() -
getElements
-
getColumnIndex
-
generateTable
-
getHeaderStyle
protected org.apache.poi.xssf.usermodel.XSSFCellStyle getHeaderStyle() -
getNameCellStyle
protected org.apache.poi.xssf.usermodel.XSSFCellStyle getNameCellStyle() -
getDefaultTitleBackgroundColor
-
getDefaultDataBackgroundColor
-
getDefaultBorderLineColor
-
getColumn
-
getColumns
- Specified by:
getColumnsin classTable<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()
-