|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.frinika.sequencer.model.MultiEventChangeRecorder
public abstract class MultiEventChangeRecorder
If you want to make sure that the changes in a MultiEvent is recorded in the EditHistory you should wrap this class around your MultiEvent change code. It applies to one single MultiEvent and make sure that all neccesities are done in order to record the change. Recording a MultiEvent change in the editHistory implies removing the MultiEvent before the change - doing the actual change - and then adding the multiEvent again.
Constructor Summary | |
---|---|
MultiEventChangeRecorder(java.lang.String changeText,
MultiEvent multiEvent)
When invoking this constructor all the history recording and the actual change will be done |
Method Summary | |
---|---|
abstract void |
doChange(MultiEvent multiEvent)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiEventChangeRecorder(java.lang.String changeText, MultiEvent multiEvent)
changeText
- - The text to be visible in the undo menu for this changemultiEvent
- - The multiEvent you want to changeMethod Detail |
---|
public abstract void doChange(MultiEvent multiEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |