Class RpValueChangedEvent

java.lang.Object
org.jjazz.songstructure.api.event.SgsChangeEvent
org.jjazz.songstructure.api.event.RpValueChangedEvent

public class RpValueChangedEvent extends SgsChangeEvent
A RhythmParameter value has changed.
  • 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

      public RhythmParameter<?> getRhythmParameter()
    • getOldValue

      public Object getOldValue()
    • getNewValue

      public Object getNewValue()
      Get the new Rhythm parameter value.

      Note that newValue can be the same as oldValue if the RP value class is mutable.

      Returns: