Class SectionChangedEvent
java.lang.Object
org.jjazz.chordleadsheet.api.event.ClsChangeEvent
org.jjazz.chordleadsheet.api.event.SectionChangedEvent
One section name and/or TimeSignature has changed.
getItemChanges() returns a PROP_ITEM_DATA change event for the section and possibly some PROP_ITEM_POSITION change events: the adjusted items because of a TimeSignature change.
-
Constructor Summary
ConstructorsConstructorDescriptionSectionChangedEvent(ChordLeadSheet src, CLI_Section item, Section oldData, Section newData) -
Method Summary
Methods inherited from class ClsChangeEvent
addItemChanges, getItem, getItemChanges, getItemChanges, getItems, getItems, getSource, isRedo, isUndo, isUndoOrRedo, setIsRedo, setIsUndo
-
Constructor Details
-
SectionChangedEvent
- Parameters:
src-item-oldData-newData-
-
-
Method Details
-
getOldSection
-
getNewSection
-
isNameChanged
public boolean isNameChanged() -
isTimeSignatureChanged
public boolean isTimeSignatureChanged() -
getCLI_Section
-
toString
-