Package com.amalgamasimulation.excel
Class ExcelTableColumn<E,T>
java.lang.Object
com.amalgamasimulation.excel.TableColumn<E,T,ExcelTable<E>>
com.amalgamasimulation.excel.ExcelTableColumn<E,T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected BiFunction<E, T, org.apache.poi.ss.usermodel.HorizontalAlignment> protected BiFunction<E, T, Color> protected BiFunction<E, T, String> protected intprotected intprotected ExcelTable<E> protected DateTimeFormatterprotected Stringprotected intprotected ColorFields inherited from class com.amalgamasimulation.excel.TableColumn
extractor, name -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgenerateHeaderCell(int row, int column) protected voidgenerateNameCell(int row, int column) intintintintgetName()getTable()setCellAlignmentExtractor(BiFunction<E, T, org.apache.poi.ss.usermodel.HorizontalAlignment> cellAlignmentExtractor) setCellColorExtractor(BiFunction<E, T, Color> cellColorExtractor) setCellFormatExtractor(BiFunction<E, T, String> cellFormatExtractor) setMaxWidth(int maxWidth) setTitleColor(Color titleColor) Methods inherited from class com.amalgamasimulation.excel.TableColumn
getStringValue
-
Field Details
-
excelTable
-
header
-
titleColor
-
cellColorExtractor
-
cellFormatExtractor
-
cellAlignmentExtractor
-
maxWidth
protected int maxWidth -
beginRow
protected int beginRow -
column
protected int column -
countRows
protected int countRows -
formatterLocalTime
-
-
Method Details
-
setCellFormatExtractor
-
setCellAlignmentExtractor
public ExcelTableColumn<E,T> setCellAlignmentExtractor(BiFunction<E, T, org.apache.poi.ss.usermodel.HorizontalAlignment> cellAlignmentExtractor) -
setCellColorExtractor
-
setTitleColor
-
setMaxWidth
-
getMaxWidth
public int getMaxWidth() -
getTable
- Overrides:
getTablein classTableColumn<E,T, ExcelTable<E>>
-
getName
- Overrides:
getNamein classTableColumn<E,T, ExcelTable<E>>
-
getHeader
-
getBeginRow
public int getBeginRow() -
getColumn
public int getColumn() -
getCountRows
public int getCountRows() -
generateNameCell
protected void generateNameCell(int row, int column) -
generateHeaderCell
protected void generateHeaderCell(int row, int column)
-