Package io.jmix.pivottable.model
Class Renderers
java.lang.Object
io.jmix.pivottable.model.AbstractPivotObject
io.jmix.pivottable.model.Renderers
- All Implemented Interfaces:
Serializable
Configuration of renderers. Use when
PivotTableModel.editable
is set to true
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddRenderers
(Renderer... renderers) Adds an array which will be converted to a dictionary of rendering functions.setRenderers
(List<Renderer> renderers) Sets a list which will be converted to a dictionary of rendering functions.setSelectedRenderer
(Renderer selectedRenderer) Sets one of predefined renderers, which name will be converted torendererName
- an renderer to prepopulate in dropdown i.e.
-
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- Returns:
- a reference to this object
-
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- Returns:
- a reference to this object
-
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- Returns:
- a reference to this object
-