Class Renderers

All Implemented Interfaces:
Serializable

public class Renderers extends AbstractPivotObject
Configuration of renderers. Use when PivotTableModel.editable is set to true.
See Also:
  • Constructor Details

    • Renderers

      public Renderers()
  • Method Details

    • getRenderers

      public List<Renderer> getRenderers()
      Returns:
      a list which will be converted to a dictionary of rendering functions
    • setRenderers

      public Renderers setRenderers(List<Renderer> renderers)
      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

      public Renderers addRenderers(Renderer... renderers)
      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

      public Renderer getSelectedRenderer()
      Returns:
      a selected renderer
    • setSelectedRenderer

      public Renderers setSelectedRenderer(Renderer selectedRenderer)
      Sets one of predefined renderers, which name will be converted to rendererName - an renderer to prepopulate in dropdown i.e. key to renderers object.
      Parameters:
      selectedRenderer - one of predefined renderers
      Returns:
      a reference to this object