Class RpValueChangedEvent
java.lang.Object
org.jjazz.songstructure.api.event.SgsChangeEvent
org.jjazz.songstructure.api.event.RpValueChangedEvent
A RhythmParameter value has changed.
-
Constructor Summary
ConstructorDescriptionRpValueChangedEvent
(SongStructure src, SongPart spt, RhythmParameter<?> rp, Object oldValue, Object newValue) Create an event. -
Method Summary
Modifier and TypeMethodDescriptionGet the new Rhythm parameter value.Methods inherited from class org.jjazz.songstructure.api.event.SgsChangeEvent
getSongPart, getSongParts, getSource, sortSongParts
-
Constructor Details
-
RpValueChangedEvent
public RpValueChangedEvent(SongStructure src, SongPart spt, RhythmParameter<?> rp, Object oldValue, Object newValue) Create an event.- Parameters:
src
-spt
-rp
-oldValue
-newValue
- Can be the same than newValue for mutable RP values.
-
-
Method Details
-
getRhythmParameter
-
getOldValue
-
getNewValue
Get the new Rhythm parameter value.Note that newValue can be the same as oldValue if the RP value class is mutable.
- Returns:
-