Package org.jjazz.songcontext.api
Class SongContextCopy
java.lang.Object
org.jjazz.songcontext.api.SongContext
org.jjazz.songcontext.api.SongContextCopy
Create a new SongContext by deep copying the Song and the MidiMix.
References to the source Song and MidiMix are kept. If you don't need these references, you should directly use SongContext.deepClone().
-
Constructor Summary
ConstructorDescriptionSongContextCopy
(Song s, MidiMix mm, boolean registerSongCopy) SongContextCopy
(Song s, MidiMix mm, IntRange barRange, boolean registerSongCopy) SongContextCopy
(SongContext sgContext, IntRange newRange, boolean registerSongCopy) -
Method Summary
Modifier and TypeMethodDescriptionThe original MidiMix from which we made this context copy.The original song from which we made this context copy.Methods inherited from class org.jjazz.songcontext.api.SongContext
clone, contains, deepClone, equals, getBarRange, getBeatRange, getMidiMix, getSong, getSongParts, getSptBarRange, getSptBeatRange, getSptTickRange, getTickRange, getUniqueRhythms, getUniqueRhythmVoices, hashCode, toClsPosition, toPosition, toPositionInBeats, toRelativeTick, toString
-
Constructor Details
-
SongContextCopy
-
SongContextCopy
-
SongContextCopy
-
-
Method Details
-
getOriginalSong
The original song from which we made this context copy.- Returns:
-
getOriginalMidiMix
The original MidiMix from which we made this context copy.- Returns:
-