Interface ChordViewer


public interface ChordViewer
A service provider to represent a chord symbol.

  • Method Details

    • getComponent

      JComponent getComponent()
      Get the visual component which represents the chord symbol.
      Returns:
    • getDescription

      String getDescription()
      A one-line description of this viewer.

      Used by UI to describe this viewer, e.g. as a tooltip.

      Returns:
    • getIcon

      Icon getIcon()
      A 16x16 icon representing this viewer.

      Used by the framework to build a UI which lets the user select the active NotesViewer.

      Returns:
    • setContext

      void setContext(Song song, MidiMix midiMix, RhythmVoice rv)
      Provide optional context info to the viewer.
      Parameters:
      song - Can be null.
      midiMix - Can be null.
      rv - Can be null.
    • setModel

      void setModel(CLI_ChordSymbol cliCs)
      Represent the specified chord symbol.
      Parameters:
      cliCs -
    • getModel

      CLI_ChordSymbol getModel()
    • setEnabled

      void setEnabled(boolean b)
    • isEnabled

      boolean isEnabled()
    • cleanup

      void cleanup()