Interface BarRendererFactory


public interface BarRendererFactory
Provide a consistent set of BarRenderer implementations.
  • Field Details

  • Method Details

    • getDefault

      static BarRendererFactory getDefault()
      Return the default implementation.

      If brType is not handled by the default implementation, it tries to find a relevant BarRendererProvider in the global lookup.

      Returns:
    • getItemRendererFactory

      default ItemRendererFactory getItemRendererFactory()
    • createBarRenderer

      default BarRenderer createBarRenderer(CL_Editor editor, String brType, int barIndex, Object groupKey)
      Create a BarRenderer with default settings.
      Parameters:
      editor - Can be null
      brType -
      barIndex - The barIndex and the modelBarIndex (unless barIndex is beyond ChordLeadSheet size, then modelBarIndex is set to -1)
      groupKey -
      Returns:
    • createBarRenderer

      BarRenderer createBarRenderer(CL_Editor editor, String brType, int barIndex, BarRendererSettings settings, ItemRendererFactory irf, Object groupKey)
      Create a BarRenderer of the specified type.
      Parameters:
      editor - Can be null
      brType -
      barIndex - The barIndex and the modelBarIndex (unless barIndex is beyond ChordLeadSheet size, then modelBarIndex is set to -1)
      settings -
      irf -
      groupKey -
      Returns: