org.eclipse.nebula.widgets.nattable.summaryrow
Interface ISummaryProvider
- All Known Implementing Classes:
- SummationSummaryProvider
public interface ISummaryProvider
Summarizes the values in a column.
Used by the SummaryRowLayer
to calculate summary values.
DEFAULT_SUMMARY_VALUE
static final Object DEFAULT_SUMMARY_VALUE
NONE
static final ISummaryProvider NONE
- Register this instance to indicate that a summary is not required.
Doing so avoids calls to the
ISummaryProvider
and is a performance tweak.
DEFAULT
static final ISummaryProvider DEFAULT
- This instance will always return
DEFAULT_SUMMARY_VALUE
and does not perform a calculation.
summarize
Object summarize(int columnIndex)
- Parameters:
columnIndex
- The column index of the column for which the summary should be calculated.
- Returns:
- The calculated summary value for the column.
Copyright © 2014. All rights reserved.