com.sencha.gxt.widget.core.client.grid
Interface SummaryType<N,O extends java.lang.Number>
- Type Parameters:
N - the value typeO - the return type
- All Known Implementing Classes:
- SummaryType.AvgSummaryType, SummaryType.CountSummaryType, SummaryType.MaxSummaryType, SummaryType.MinSummaryType, SummaryType.SumSummaryType
public interface SummaryType<N,O extends java.lang.Number>
Calculates the value of a summary column.
|
Method Summary |
|
calculate(java.util.List<? extends M> models,
ValueProvider<? super M,N> vp)
Returns the value for a summary calculation. |
calculate
<M> O calculate(java.util.List<? extends M> models,
ValueProvider<? super M,N> vp)
- Returns the value for a summary calculation.
- Parameters:
models - the list of modelsvp - the value provider
- Returns:
- the summary value
Copyright © 2012. All Rights Reserved.