net.charlesames.music.midi
Class MidiTrackEvent

java.lang.Object
  extended by net.charlesames.utility.common.Disposable
      extended by net.charlesames.music.midi.MidiEntity
          extended by net.charlesames.music.midi.MidiTrackEvent

public class MidiTrackEvent
extends MidiEntity

Author:
Charles Ames

Method Summary
 MidiTrack getContainer()
          Get the MidiTrack instance which holds this event.
 java.lang.String getDescription()
          Get a text description of the event.
 javax.sound.midi.MidiEvent getEvent()
          Get the javax.sound.midi.MidiEvent instance.
 int getMidiEventID()
          Get the MIDI event id.
 
Methods inherited from class net.charlesames.music.midi.MidiEntity
dispose, getID, getName, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContainer

public MidiTrack getContainer()
Get the MidiTrack instance which holds this event.

Overrides:
getContainer in class MidiEntity
Returns:
The MidiTrack instance which holds this event.

getMidiEventID

public int getMidiEventID()
Get the MIDI event id. This id uniquely identifies the event within its track.

Returns:
The MIDI event id.

getEvent

public javax.sound.midi.MidiEvent getEvent()
Get the javax.sound.midi.MidiEvent instance.

Returns:
The javax.sound.midi.MidiEvent instance.

getDescription

public java.lang.String getDescription()
Get a text description of the event.

Returns:
A text description of the event.