jcaas.midi
Class Volume

java.lang.Object
  extended by jcaas.midi.Volume

public class Volume
extends java.lang.Object

Volume represents the master volume of a staff.

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

Constructor Summary
Volume(double v)
          Standard Constructor
 
Method Summary
 double getVolume()
          Returns the volume this object represents
 java.lang.String toString()
          Overwrite for the toString method, returns the string representation of vol.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Volume

public Volume(double v)
Standard Constructor

Parameters:
v - the volume this object represents.
Method Detail

getVolume

public double getVolume()
Returns the volume this object represents

Returns:
the integer volume

toString

public java.lang.String toString()
Overwrite for the toString method, returns the string representation of vol.

Overrides:
toString in class java.lang.Object