Interface WritableItem<T>

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

public interface WritableItem<T> extends ChordLeadSheetItem<T>
  • Method Details

    • setPosition

      void setPosition(Position pos)
    • setData

      void setData(T data)
    • setContainer

      void setContainer(ChordLeadSheet cls)
      Set an optional container for this item.

      No consistency check is performed: caller is responsible to make sure this item is consistent with cls (e.g. position is within cls bounds, section does not have a name clash, ...).

      Parameters:
      cls - Can be null.