Class Aggregations
java.lang.Object
io.jmix.pivottableflowui.kit.component.model.PivotTableOptionsObservable
io.jmix.pivottableflowui.kit.component.model.Aggregations
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.pivottableflowui.kit.component.model.PivotTableOptionsObservable
PivotTableOptionsObservable.ObjectChangeEvent
-
Field Summary
Fields inherited from class io.jmix.pivottableflowui.kit.component.model.PivotTableOptionsObservable
changedFromClient, listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAggregations
(Aggregation... aggregations) Adds an array which will be converted to a dictionary of generators for aggregation functions in dropdown menu.void
setAggregations
(List<Aggregation> aggregations) Sets a list which will be converted to a dictionary of generators for aggregation functions in dropdown menu.void
setSelectedAggregation
(AggregationMode selectedAggregation) Sets one of predefined aggregations, which name will be converted toaggregatorName
- an aggregator to prepopulate in dropdown i.e.Methods inherited from class io.jmix.pivottableflowui.kit.component.model.PivotTableOptionsObservable
fireChangeEvent, markAsChanged, setChangedFromClient, setPivotTableObjectChangeListener
-
Field Details
-
aggregations
-
selectedAggregation
-
-
Constructor Details
-
Aggregations
public Aggregations()
-
-
Method Details
-
getAggregations
- Returns:
- a list which will be converted to a dictionary of generators for aggregation functions in dropdown menu
-
setAggregations
Sets 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
-
addAggregations
Adds 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
-
setSelectedAggregation
Sets one of predefined aggregations, which name will be converted toaggregatorName
- an aggregator to prepopulate in dropdown i.e. key toaggregators
object.- Parameters:
selectedAggregation
- an aggregation to set as a selected
-