Class DerivedProperties
java.lang.Object
io.jmix.pivottableflowui.kit.component.model.PivotTableOptionsObservable
io.jmix.pivottableflowui.kit.component.model.DerivedProperties
- All Implemented Interfaces:
- Serializable
Defines derived properties
 (see documentation).
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.pivottableflowui.kit.component.model.PivotTableOptionsObservablePivotTableOptionsObservable.ObjectChangeEvent
- 
Field SummaryFieldsFields inherited from class io.jmix.pivottableflowui.kit.component.model.PivotTableOptionsObservablechangedFromClient, listener
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAttribute(String caption, JsFunction function) Adds a function that calculated a derived property to the given localized attribute name.voidaddAttributes(Map<String, JsFunction> derivedProperties) Adds a map of derived properties.voidsetProperties(Map<String, JsFunction> derivedProperties) Sets a map of derived properties.Methods inherited from class io.jmix.pivottableflowui.kit.component.model.PivotTableOptionsObservablefireChangeEvent, markAsChanged, setChangedFromClient, setPivotTableObjectChangeListener
- 
Field Details- 
properties
 
- 
- 
Constructor Details- 
DerivedPropertiespublic DerivedProperties()
 
- 
- 
Method Details- 
getProperties- Returns:
- a map of derived properties
 
- 
setPropertiesSets a map of derived properties.- Parameters:
- derivedProperties- a map of derived properties
 
- 
addAttributesAdds a map of derived properties.- Parameters:
- derivedProperties- a map of derived properties
 
- 
addAttributeAdds a function that calculated a derived property to the given localized attribute name.- Parameters:
- caption- a localized attribute name
- function- a function that calculated a derived property
 
 
-