Class SectionMovedEvent
java.lang.Object
org.jjazz.chordleadsheet.api.event.ClsChangeEvent
org.jjazz.chordleadsheet.api.event.SectionMovedEvent
A section was moved.
getItemChanges() returns a PROP_ITEM_POSITION for the section, and possible additional ones for the adjusted items because of a TimeSignature change.
-
Constructor Summary
ConstructorsConstructorDescriptionSectionMovedEvent(ChordLeadSheet src, CLI_Section item, int oldBar, int newBar) -
Method Summary
Methods inherited from class ClsChangeEvent
addItemChanges, getItem, getItemChanges, getItemChanges, getItems, getItems, getSource, isRedo, isUndo, isUndoOrRedo, setIsRedo, setIsUndo
-
Constructor Details
-
SectionMovedEvent
-
-
Method Details
-
getOldBar
public int getOldBar()- Returns:
- The barIndex of the section before it was moved
-
getNewBar
public int getNewBar() -
getCLI_Section
-
toString
-