public interface GroupTableSummaryCalculator extends SummaryCalculator
SummaryCalculator. This interface added extra parameters (such as TableModel and Row) to addValue methods in case the summary calculation needs to know about it. However in our default implementation, these extra parameters are not used.
ALLOWED_SUMMARIES_ALL, ALLOWED_SUMMARIES_COUNT, ALLOWED_SUMMARIES_MAX_MIN_COUNT, SUMMARY_CONSTANT, SUMMARY_COUNT, SUMMARY_CUSTOM, SUMMARY_MAX, SUMMARY_MEAN, SUMMARY_MIN, SUMMARY_NONE, SUMMARY_RESERVED_MAX, SUMMARY_STDDEV, SUMMARY_SUM, SUMMARY_VAR
|Modifier and Type||Method and Description|
Adds a value for calculation.
void addValue(TableModel model, Row row, int columnIndex, Object value)
SummaryCalculator.addValue(Object)which only takes the value as parameter, this method provides TableModel, Row and the column index of the cell as in the DefaultGroupTableModel.
model- the table model. It should be the DefaultGroupTableModel in the case of GroupTable.
value- the value