Interface CLI_Section

All Superinterfaces:
ChordLeadSheetItem<Section>, Comparable<ChordLeadSheetItem<?>>, Transferable

public interface CLI_Section extends ChordLeadSheetItem<Section>
Represent a section with a name (e.g. "Verse1") and a time signature, at a specific bar.

  • Field Details

    • DATA_FLAVOR

      static final DataFlavor DATA_FLAVOR
    • PATTERN

      static final Pattern PATTERN
  • Method Details

    • createSectionName

      static String createSectionName(String sectionName, ChordLeadSheet cls)
      Derive a new section name which is unique in the specified chord leadsheet.

      If sectionName is not used, just return it. Otherwise append a number to sectionName (eg "Chorus2") until we get a non-used section name.

      Parameters:
      sectionName - Create a name from this parameter.
      cls -
      Returns: