com.sencha.gxt.widget.core.client.grid
Class SummaryType.SumSummaryType<N>

java.lang.Object
  extended by com.sencha.gxt.widget.core.client.grid.SummaryType.SumSummaryType<N>
All Implemented Interfaces:
SummaryType<N,Double>
Enclosing interface:
SummaryType<N,O extends Number>

public static final class SummaryType.SumSummaryType<N>
extends Object
implements SummaryType<N,Double>


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sencha.gxt.widget.core.client.grid.SummaryType
SummaryType.AvgSummaryType<N>, SummaryType.CountSummaryType<V>, SummaryType.MaxSummaryType<N>, SummaryType.MinSummaryType<N>, SummaryType.SumSummaryType<N>
 
Constructor Summary
SummaryType.SumSummaryType()
           
 
Method Summary
<M> Double
calculate(List<? extends M> l, ValueProvider<? super M,N> valueProvider)
          Returns the value for a summary calculation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SummaryType.SumSummaryType

public SummaryType.SumSummaryType()
Method Detail

calculate

public <M> Double calculate(List<? extends M> l,
                            ValueProvider<? super M,N> valueProvider)
Description copied from interface: SummaryType
Returns the value for a summary calculation.

Specified by:
calculate in interface SummaryType<N,Double>
Parameters:
l - the list of models
valueProvider - the value provider
Returns:
the summary value


Copyright © 2012. All Rights Reserved.