Interface ChordLeadSheetFactory


public interface ChordLeadSheetFactory
  • Method Details

    • getDefault

      static ChordLeadSheetFactory getDefault()
    • createEmptyLeadSheet

      ChordLeadSheet createEmptyLeadSheet(String sectionName, TimeSignature ts, int size, boolean addInitialChordSymbol)
      Create an empty leadsheet except initial section.
      Parameters:
      sectionName - The name of the initial section.
      ts - The time signature of the initial section
      size - The size in bars (must be > 0)
      addInitialChordSymbol - If true add an initial C chord symbol on first bar.
      Returns:
    • createSampleLeadSheet12bars

      ChordLeadSheet createSampleLeadSheet12bars(String sectionName, int size)
      Create a 12 bars (or more) leadsheet which contains sample sections and chords.
      Parameters:
      sectionName - The name of the initial section.
      size - The size in bars must be >= 12.
      Returns:
    • createRamdomLeadSheet

      ChordLeadSheet createRamdomLeadSheet(String sectionName, TimeSignature ts, int size)
      Create a leadsheet with a randomly generated content (sections and chords).
      Parameters:
      sectionName - the value of sectionName
      ts - The time signature of the initial section
      size - The size in bars must be > 0.
      Returns:
    • getCopy

      Get a deep copy of specified chordleadsheet: individual ChordLeadSheetItems are copied.
      Parameters:
      cls -
      Returns: