jcaas.midi.messages
Class NoteListChangeMessage

java.lang.Object
  extended by jcaas.midi.messages.MMessage
      extended by jcaas.midi.messages.NoteListChangeMessage

public class NoteListChangeMessage
extends MMessage

A class to pass messages concernting the entire list of notes for a staff

Version:
created Apr 18, 2005 last modified Aug 14, 2005
Author:
Conrad M. Hutcheson

Field Summary
 
Fields inherited from class jcaas.midi.messages.MMessage
CHORD_MESSAGE, INSTRUMENT_MESSAGE, KEYSIGNATURE_MESSAGE, NOTECHANGE_MESSAGE, NOTELISTCHANGE_MESSAGE, RYTHM_MESSAGE, STAFFCHANGE_MESSAGE, STAFFPROPERTY_MESSAGE, TEMPO_MESSAGE, TIMESIGNATURE_MESSAGE, VOLUME_MESSAGE
 
Constructor Summary
NoteListChangeMessage(NoteVector[] nv)
          Standard Constructor
 
Method Summary
 java.lang.Object getContents()
          A method to return the information carried by this message.
 int getType()
          A method to determine if the MidiPlayer or the Staff cares about this message.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoteListChangeMessage

public NoteListChangeMessage(NoteVector[] nv)
Standard Constructor

Parameters:
nv - the stored array of note vectors
Method Detail

getType

public int getType()
Description copied from class: MMessage
A method to determine if the MidiPlayer or the Staff cares about this message.

Specified by:
getType in class MMessage
Returns:
a symbolic int to indicate where this message goes.

getContents

public java.lang.Object getContents()
Description copied from class: MMessage
A method to return the information carried by this message.

Specified by:
getContents in class MMessage
Returns: