Class AquaSimGUIwithSimulation


public class AquaSimGUIwithSimulation
extends AquaSimGUI

Aquarium Lab Series: The AquaSimGUIwithSimulation class provides a graphical user interface to the Aquarium Lab Series with step and run buttons. It inherits the display from AquaSimGUI.

Version:
10 July 2002, 24 March 2004
Author:
Alyce Brady, Kelly Schultz
See Also:
Serialized Form

Constructor Summary
AquaSimGUIwithSimulation(Aquarium aquarium)
          Construct a simple graphical user interface for the Aquarium Simulation program.
 
Method Summary
 void run()
          Start running the simulation.
 void start()
          Start the simulation.
 void step()
 
Methods inherited from class AquaSimGUI
pauseToView, show, show, showAquarium, showFish

Constructor Detail

AquaSimGUIwithSimulation

public AquaSimGUIwithSimulation(Aquarium aquarium)
Construct a simple graphical user interface for the Aquarium Simulation program.

Parameters:
aquarium - the aquarium in which the fish swim
Method Detail

start

public void start()
Start the simulation. (Activated by the start button.)


step

public void step()
Execute one step of the simulation. (Activated by the step button.)


run

public void run()
Start running the simulation. (Activated by the run button.)