Class Renderers
java.lang.Object
io.jmix.pivottableflowui.kit.component.model.PivotTableOptionsObservable
io.jmix.pivottableflowui.kit.component.model.Renderers
- All Implemented Interfaces:
Serializable
Configuration of renderers.
- 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 TypeMethodDescriptionvoid
addRenderers
(Renderer... renderers) Adds an array which will be converted to a dictionary of rendering functions.void
setRenderers
(List<Renderer> renderers) Sets a list which will be converted to a dictionary of rendering functions.void
setSelectedRenderer
(Renderer selectedRenderer) Sets one of predefined renderers, which name will be converted torendererName
- an renderer to prepopulate in dropdown i.e.Methods inherited from class io.jmix.pivottableflowui.kit.component.model.PivotTableOptionsObservable
fireChangeEvent, markAsChanged, setChangedFromClient, setPivotTableObjectChangeListener
-
Field Details
-
renderers
-
selectedRenderer
-
-
Constructor Details
-
Renderers
public Renderers()
-
-
Method Details
-
getRenderers
- Returns:
- a list which will be converted to a dictionary of rendering functions
-
setRenderers
Sets a list which will be converted to a dictionary of rendering functions.- Parameters:
renderers
- a list which will be converted to a dictionary of rendering functions
-
addRenderers
Adds an array which will be converted to a dictionary of rendering functions.- Parameters:
renderers
- an array which will be converted to a dictionary of rendering functions
-
getSelectedRenderer
- Returns:
- a selected renderer
-
setSelectedRenderer
Sets one of predefined renderers, which name will be converted torendererName
- an renderer to prepopulate in dropdown i.e. key torenderers
object.- Parameters:
selectedRenderer
- one of predefined renderers
-