com.frinika.sequencer.model
Class ChannelEvent

java.lang.Object
  extended by com.frinika.sequencer.model.MultiEvent
      extended by com.frinika.sequencer.model.ChannelEvent
All Implemented Interfaces:
Item, EditHistoryRecordable, Selectable, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
ControllerEvent, NoteEvent, PitchBendEvent, ProgramChangeEvent

public abstract class ChannelEvent
extends MultiEvent

Author:
Peter Johan Salomonsen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.frinika.sequencer.model.MultiEvent
startTick
 
Constructor Summary
ChannelEvent(FrinikaTrackWrapper track, long startTick)
          Deprecated.  
ChannelEvent(MidiPart part, long startTick)
           
 
Method Summary
 int getChannel()
           
 void setChannel(int channel)
           
 
Methods inherited from class com.frinika.sequencer.model.MultiEvent
addToModel, clone, commitAdd, commitChanges, compareTo, deepCopy, deepMove, detachedCopy, getEndTick, 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
 
Methods inherited from interface com.frinika.sequencer.model.EditHistoryRecordable
restoreFromClone
 

Constructor Detail

ChannelEvent

public ChannelEvent(FrinikaTrackWrapper track,
                    long startTick)
Deprecated. 

Parameters:
track -
startTick -

ChannelEvent

public ChannelEvent(MidiPart part,
                    long startTick)
Method Detail

getChannel

public int getChannel()
Returns:
Returns the channel.

setChannel

public void setChannel(int channel)
Parameters:
channel - The channel to set.