Class SummationGroupBySummaryProvider<T>

java.lang.Object
org.eclipse.nebula.widgets.nattable.extension.glazedlists.groupBy.summary.SummationGroupBySummaryProvider<T>
All Implemented Interfaces:
IGroupBySummaryProvider<T>

public class SummationGroupBySummaryProvider<T> extends Object implements IGroupBySummaryProvider<T>
  • Constructor Details

    • SummationGroupBySummaryProvider

      public SummationGroupBySummaryProvider(IColumnAccessor<T> columnAccessor)
  • Method Details

    • summarize

      public Object summarize(int columnIndex, List<T> children)
      Specified by:
      summarize in interface IGroupBySummaryProvider<T>
      Parameters:
      columnIndex - The column index of the column for which the summary should be calculated.
      children - The child objects to operate on.
      Returns:
      The calculated summary value for the column.