Class Song

java.lang.Object
  extended by Song

public class Song
extends Object

Class that represents a song

Author:
Mark Guzdial, Barb Ericson

Constructor Summary
Song()
           
 
Method Summary
 void setFirst(SongPart channel1)
          Take in a SongPart to make the first channel in the song
 void setSecond(SongPart channel2)
          Take in a SongPart to make the second channel in the song
 void show()
          Make the score and show it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Song

public Song()
Method Detail

setFirst

public void setFirst(SongPart channel1)
Take in a SongPart to make the first channel in the song

Parameters:
channel1 - the first channel in the song

setSecond

public void setSecond(SongPart channel2)
Take in a SongPart to make the second channel in the song

Parameters:
channel2 - the second channel in the song

show

public void show()
Make the score and show it