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 Summary
Nested classes/interfaces inherited from class io.jmix.pivottableflowui.kit.component.model.PivotTableOptionsObservable
PivotTableOptionsObservable.ObjectChangeEvent -
Field Summary
FieldsFields inherited from class io.jmix.pivottableflowui.kit.component.model.PivotTableOptionsObservable
changedFromClient, listener -
Constructor Summary
Constructors -
Method Summary
Modifier 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.PivotTableOptionsObservable
fireChangeEvent, markAsChanged, setChangedFromClient, setPivotTableObjectChangeListener
-
Field Details
-
properties
-
-
Constructor Details
-
DerivedProperties
public DerivedProperties()
-
-
Method Details
-
getProperties
- Returns:
- a map of derived properties
-
setProperties
Sets a map of derived properties.- Parameters:
derivedProperties- a map of derived properties
-
addAttributes
Adds a map of derived properties.- Parameters:
derivedProperties- a map of derived properties
-
addAttribute
Adds a function that calculated a derived property to the given localized attribute name.- Parameters:
caption- a localized attribute namefunction- a function that calculated a derived property
-