Class Seq_1_Button

Class Seq_1_Button

java.lang.Object
   |
   +----awt.Component
           |
           +----awt.Button
                   |
                   +----SeqButton
                           |
                           +----Seq_1_Button

class Seq_1_Button
extends SeqButton
Class for the Sequence 1 button.
Version:
1.0
Author:
Henrik Eriksson

Seq_1_Button(NuclearPlant, String, int, int)
Construct a button and initialize it.

run()
Run the sequence.

Seq_1_Button
  public Seq_1_Button(NuclearPlant p,
                      String name,
                      int x,
                      int y)
Construct a button and initialize it.
Parameters:
p - The plant
name - The button label
x - The X coordinate
y - The Y coordinate

run
  public void run()
Run the sequence. This method is called in a separate thread when the button is selected by the user. Modify this method to change the sequence in question.