jcaas.midi.messages
Class VolumeMessage

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

public class VolumeMessage
extends MMessage

Class to pass Volume messages.

Version:
created Apr 18, 2005 last modified Apr 21, 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
VolumeMessage(Volume vol)
          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

VolumeMessage

public VolumeMessage(Volume vol)
Standard Constructor.

Parameters:
vol - the stored volume
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: