T - class of table records@FunctionalInterface public interface TableFormatter<T>
GSheetTable.formatter()| Modifier and Type | Method and Description |
|---|---|
void |
format(Cell cell,
String column,
int recordIndex,
List<T> records)
Formats cells based on some specific logic.
|
void format(Cell cell, String column, int recordIndex, List<T> records)
cell - the cell to which formatting is applied.column - name of column to which the cell belongs.recordIndex - index of current table record in the list.Equals -1 if the cell
is a header cell.records - whole list of table records. Equals null if the cell
is a header cell.Copyright © 2022. All rights reserved.