public class Aggregations extends AbstractPivotObject
PivotTableModel.editable
is set to true
.Constructor and Description |
---|
Aggregations() |
Modifier and Type | Method and Description |
---|---|
Aggregations |
addAggregations(Aggregation... aggregations)
Adds an array which will be converted to a dictionary of
generators for aggregation functions in dropdown menu.
|
java.util.List<Aggregation> |
getAggregations() |
AggregationMode |
getDefaultAggregation()
Deprecated.
use
getSelectedAggregation() instead |
AggregationMode |
getSelectedAggregation() |
Aggregations |
setAggregations(java.util.List<Aggregation> aggregations)
Sets a list which will be converted to a dictionary of
generators for aggregation functions in dropdown menu.
|
Aggregations |
setDefaultAggregation(AggregationMode defaultAggregation)
Deprecated.
user
setSelectedAggregation(AggregationMode) instead |
Aggregations |
setSelectedAggregation(AggregationMode selectedAggregation)
Sets one of predefined aggregations, which name will be
converted to
aggregatorName - an aggregator to
prepopulate in dropdown i.e. |
public java.util.List<Aggregation> getAggregations()
public Aggregations setAggregations(java.util.List<Aggregation> aggregations)
aggregations
- a list which will be converted to a dictionary
of generators for aggregation functions in dropdown menupublic Aggregations addAggregations(Aggregation... aggregations)
aggregations
- an array which will be converted to a dictionary
of generators for aggregation functions in dropdown menupublic AggregationMode getSelectedAggregation()
public Aggregations setSelectedAggregation(AggregationMode selectedAggregation)
aggregatorName
- an aggregator to
prepopulate in dropdown i.e. key to aggregators
object.selectedAggregation
- an aggregation to set as a selected@Deprecated public AggregationMode getDefaultAggregation()
getSelectedAggregation()
instead@Deprecated public Aggregations setDefaultAggregation(AggregationMode defaultAggregation)
setSelectedAggregation(AggregationMode)
insteadaggregatorName
- an aggregator to
prepopulate in dropdown i.e. key to aggregators
object.defaultAggregation
- an aggregation to set as a selected