becker.xtras.radio
Class RadioGUI

java.lang.Object
  extended by becker.xtras.radio.RadioGUI

public class RadioGUI
extends Object

A graphical user interface (GUI) for an AM/FM radio. It must be supplied with two instances of ITuner, one used for the AM band and the other used for the FM band. See the package overview for a sample main method using this class.

Author:
Byron Weber Becker

Constructor Summary
RadioGUI(ITuner amTuner, ITuner fmTuner)
          Construct a graphical user interface for an AM/FM radio.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadioGUI

public RadioGUI(ITuner amTuner,
                ITuner fmTuner)
Construct a graphical user interface for an AM/FM radio.

Parameters:
amTuner - A class implementing ITuner representing the AM frequencies.
fmTuner - A class implementing ITuner representing the FM frequencies.