Class SptReplacedEvent
java.lang.Object
org.jjazz.songstructure.api.event.SgsChangeEvent
org.jjazz.songstructure.api.event.SptReplacedEvent
A SongPart has been replaced with another one with same size/startBarIndex.
-
Constructor Summary
ConstructorDescriptionSptReplacedEvent
(SongStructure src, List<SongPart> oldSpts, List<SongPart> newSpts) -
Method Summary
Methods inherited from class org.jjazz.songstructure.api.event.SgsChangeEvent
getSongPart, getSongParts, getSource, sortSongParts
-
Constructor Details
-
SptReplacedEvent
-
-
Method Details
-
getNewSpts
- Returns:
- The songpart to replace the source song part, ordered by startBarIndex (like oldSpts)
-