Class DeletedBarsEvent
java.lang.Object
org.jjazz.chordleadsheet.api.event.ClsChangeEvent
org.jjazz.chordleadsheet.api.event.DeletedBarsEvent
Some bars were deleted.
getItems() returns the deleted items.
getItemChanges() returns PROP_ITEM_POSITION change events : the shifted items and possibly adjusted for TimeSignature change.
-
Constructor Summary
ConstructorsConstructorDescriptionDeletedBarsEvent(ChordLeadSheet src, int barFrom, int barTo, List<ChordLeadSheetItem> removedItems) -
Method Summary
Methods inherited from class ClsChangeEvent
addItemChanges, getItem, getItemChanges, getItemChanges, getItems, getItems, getSource, isRedo, isUndo, isUndoOrRedo, setIsRedo, setIsUndo
-
Constructor Details
-
DeletedBarsEvent
public DeletedBarsEvent(ChordLeadSheet src, int barFrom, int barTo, List<ChordLeadSheetItem> removedItems)
-
-
Method Details
-
getBarFrom
public int getBarFrom() -
getBarTo
public int getBarTo() -
isInitSectionRemoved
public boolean isInitSectionRemoved()Check if the initial Section was removed and replaced by the first section from shiftedItems.- Returns:
-
getNbDeletedBars
public int getNbDeletedBars() -
toString
-
toDebugString
-