Class ssfd.SSFDButton
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:
1.0 03-05-97
Author:
Daren Stotler
See Also:
MightyButton

Constructor Index

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

Method Index

 o action()
Called when the button is pressed.

Constructors

 o SSFDButton
  public SSFDButton(SteadyStateFusionDemo foo,
                    String name,
                    String buttontext,
                    int type)
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

Methods

 o action
  public boolean action()
Called when the button is pressed. This just executes the solveReactor method of the SteadyStateFusionDemo object.
Returns:
true
Overrides:
action in class MightyButton

All Packages  Class Hierarchy  This Package  Previous  Next  Index