com.frinika.sequencer.model
Class SubsetMultiEvent

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

public final class SubsetMultiEvent
extends MultiEvent

This is a Dummy subclass of MultiEvent used to generate MultiEvents that are ordered as the first among the MultiEvents with the same tick.

Author:
Peter Johan Salomonsen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.frinika.sequencer.model.MultiEvent
startTick
 
Method Summary
 java.lang.Object clone()
          If restoration from a clone is needed - this method should return a clone otherwise throw the CloneNotSupportedException
 void commitAddImpl()
          Add the MidiEvents generated by this MultiEvent to the track
 long getEndTick()
          sub classes should override this.
 void restoreFromClone(EditHistoryRecordable object)
          n/a
 
Methods inherited from class com.frinika.sequencer.model.MultiEvent
addToModel, 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
 

Method Detail

getEndTick

public long getEndTick()
Description copied from class: MultiEvent
sub classes should override this.

Specified by:
getEndTick in class MultiEvent
Returns:
Returns the endTick

commitAddImpl

public void commitAddImpl()
Description copied from class: MultiEvent
Add the MidiEvents generated by this MultiEvent to the track


clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Description copied from interface: EditHistoryRecordable
If restoration from a clone is needed - this method should return a clone otherwise throw the CloneNotSupportedException

Specified by:
clone in interface EditHistoryRecordable
Overrides:
clone in class MultiEvent
Returns:
Throws:
java.lang.CloneNotSupportedException

restoreFromClone

public void restoreFromClone(EditHistoryRecordable object)
n/a