All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ssfd.SSFDButton

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----dpscomponents.button.MightyButton
                           |
                           +----ssfd.SSFDButton

public class SSFDButton
extends MightyButton
Specific button class for SteadyStateFusionDemo. Most of the parameters just get passed on to the superclass. The only real need for this class is to initiate the solution process in SteadyStateFusionDemo when the button is pressed.

Version:
$Revision: 1.2 $, $Date: 1999/11/19 21:36:58 $.
Author:
Daren Stotler
See Also:
MightyButton

Constructor Index

 o SSFDButton(SteadyStateFusionDemo, String, String, int, Font)
Lone constructor.

Method Index

 o mouseClicked(MouseEvent)
Called when the button is clicked.

Constructors

 o SSFDButton
 public SSFDButton(SteadyStateFusionDemo foo,
                   String name,
                   String buttontext,
                   int type,
                   Font font)
Lone constructor.

Parameters:
foo - instance of the SteadyStateFusionDemo which uses this button
name - used to identify the file names containing the button images
buttontext - text which will appear on the button
type - type of button as per those prescribed for MightyButton
font - font to be used.

Methods

 o mouseClicked
 public void mouseClicked(MouseEvent evt)
Called when the button is clicked. This overrides the trivial method from MouseListener implemented in MightyButton. The only action is to execute the solveReactor method of the SteadyStateFusionDemo object.

Overrides:
mouseClicked in class MightyButton

All Packages  Class Hierarchy  This Package  Previous  Next  Index