Interface MutableRpValue
- All Known Implementing Classes:
RP_SYS_CustomPhraseValue
public interface MutableRpValue
A tagging interface for RhythmParameter value classes which are mutable.
Instance must notify listeners when its state has changed.
Immutable value classes should be preferred, but it might not always be possible like for RP_SYS_CustomPhraseValue, which contains editable Phrases.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddChangeListener(ChangeListener listener) Be notified of RP value changes.voidremoveChangeListener(ChangeListener listener)
-
Method Details
-
addChangeListener
Be notified of RP value changes.Note that listeners won't be notified if a new RhythmParameter value instance is replaced by another one. Use SongStructure RpChangedEvent to get all types of RP value changes.
- Parameters:
listener-
-
removeChangeListener
-