Package io.jmix.pivottable.model
Class Aggregations
java.lang.Object
io.jmix.pivottable.model.AbstractPivotObject
io.jmix.pivottable.model.Aggregations
- All Implemented Interfaces:
- Serializable
Configuration of aggregations. Use when 
PivotTableModel.editable is set to true.- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddAggregations(Aggregation... aggregations) Adds an array which will be converted to a dictionary of generators for aggregation functions in dropdown menu.setAggregations(List<Aggregation> aggregations) Sets a list which will be converted to a dictionary of generators for aggregation functions in dropdown menu.setSelectedAggregation(AggregationMode selectedAggregation) Sets one of predefined aggregations, which name will be converted toaggregatorName- an aggregator to prepopulate in dropdown i.e.
- 
Constructor Details- 
Aggregationspublic Aggregations()
 
- 
- 
Method Details- 
getAggregations- Returns:
- a list which will be converted to a dictionary of generators for aggregation functions in dropdown menu
 
- 
setAggregationsSets a list which will be converted to a dictionary of generators for aggregation functions in dropdown menu.- Parameters:
- aggregations- a list which will be converted to a dictionary of generators for aggregation functions in dropdown menu
- Returns:
- a reference to this object
 
- 
addAggregationsAdds an array which will be converted to a dictionary of generators for aggregation functions in dropdown menu.- Parameters:
- aggregations- an array which will be converted to a dictionary of generators for aggregation functions in dropdown menu
- Returns:
- a reference to this object
 
- 
getSelectedAggregation- Returns:
- a selected aggregation
 
- 
setSelectedAggregationSets one of predefined aggregations, which name will be converted toaggregatorName- an aggregator to prepopulate in dropdown i.e. key toaggregatorsobject.- Parameters:
- selectedAggregation- an aggregation to set as a selected
- Returns:
- a reference to this object
 
 
-