Interface WritableItem<T>
- All Superinterfaces:
ChordLeadSheetItem<T>,Comparable<ChordLeadSheetItem<?>>,Transferable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jjazz.chordleadsheet.api.item.ChordLeadSheetItem
ChordLeadSheetItem.DefaultComparableItem -
Field Summary
Fields inherited from interface org.jjazz.chordleadsheet.api.item.ChordLeadSheetItem
LOGGER, PROP_CONTAINER, PROP_ITEM_DATA, PROP_ITEM_POSITION -
Method Summary
Modifier and TypeMethodDescriptionvoidSet an optional container for this item.voidvoidsetPosition(Position pos) Methods inherited from interface org.jjazz.chordleadsheet.api.item.ChordLeadSheetItem
addPropertyChangeListener, compareTo, getClientProperties, getContainer, getCopy, getData, getPosition, getPositionOrder, isBarSingleItem, removePropertyChangeListenerMethods inherited from interface java.awt.datatransfer.Transferable
getTransferData, getTransferDataFlavors, isDataFlavorSupported
-
Method Details
-
setPosition
-
setData
-
setContainer
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.
-