com.frinika.sequencer.model.notation
Class ClefChange

java.lang.Object
  extended by com.frinika.sequencer.model.MultiEvent
      extended by com.frinika.sequencer.model.NotationEvent
          extended by com.frinika.sequencer.model.notation.ClefChange
All Implemented Interfaces:
Item, EditHistoryRecordable, Selectable, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class ClefChange
extends NotationEvent

See Also:
Serialized Form

Field Summary
 int clef_octave
           
 int clef_pos
           
 int clef_type
           
 
Fields inherited from class com.frinika.sequencer.model.MultiEvent
startTick
 
Constructor Summary
ClefChange(MidiPart part, long startTick)
           
 
Method Summary
 void restoreFromClone(EditHistoryRecordable object)
          On removal the EditHistoryContainer will attempt to clone the object - and if restored later it will use the restoreFromClone method to restore the cloned data on the original instance.
 
Methods inherited from class com.frinika.sequencer.model.NotationEvent
commitAddImpl, commitRemoveImpl, getEndTick
 
Methods inherited from class com.frinika.sequencer.model.MultiEvent
addToModel, clone, commitAdd, commitChanges, compareTo, deepCopy, deepMove, detachedCopy, getMidiPart, getMultiEventEndTickComparable, getPart, getStartTick, getTrack, getTrackerColumn, getValue, getValueUI, isSelected, isZombie, leftTickForMove, removeFromModel, rightTickForMove, setSelected, setStartTick, setTrackerColumn, setValue, setValueUI
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clef_type

public int clef_type

clef_pos

public int clef_pos

clef_octave

public int clef_octave
Constructor Detail

ClefChange

public ClefChange(MidiPart part,
                  long startTick)
Method Detail

restoreFromClone

public void restoreFromClone(EditHistoryRecordable object)
Description copied from interface: EditHistoryRecordable
On removal the EditHistoryContainer will attempt to clone the object - and if restored later it will use the restoreFromClone method to restore the cloned data on the original instance.

Specified by:
restoreFromClone in interface EditHistoryRecordable
Overrides:
restoreFromClone in class NotationEvent