Package io.jmix.flowui.component
Class AggregationInfo
java.lang.Object
io.jmix.flowui.component.AggregationInfo
- All Implemented Interfaces:
SupportsFormatter<Object>
POJO to store all information needed to create aggregation in
DataGrid.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected MetaPropertyPathprotected AggregationStrategy<?,?> protected AggregationInfo.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAggregationStrategy<?,?> getType()voidsetCellTitle(String cellTitle) voidsetFormatter(Formatter<? super Object> formatter) Sets a formatter that is used to produce the strings representation of the value.voidsetPropertyPath(MetaPropertyPath propertyPath) voidsetStrategy(AggregationStrategy<?, ?> strategy) voidsetType(AggregationInfo.Type type)
-
Field Details
-
propertyPath
-
type
-
formatter
-
strategy
-
cellTitle
-
-
Constructor Details
-
AggregationInfo
public AggregationInfo()
-
-
Method Details
-
getPropertyPath
-
setPropertyPath
-
getType
-
setType
-
getFormatter
- Specified by:
getFormatterin interfaceSupportsFormatter<Object>- Returns:
- a formatter or
nullif not set
-
setFormatter
Description copied from interface:SupportsFormatterSets a formatter that is used to produce the strings representation of the value.- Specified by:
setFormatterin interfaceSupportsFormatter<Object>- Parameters:
formatter- a formatter to set ornullto remove
-
getStrategy
-
setStrategy
-
getCellTitle
-
setCellTitle
-