faa.tg.eco.ecogui.spwcfg
Class AcceptSpwCfgComponent

java.lang.Object
  extended by faa.tg.eco.ecogui.spwcfg.AcceptSpwCfgComponent
All Implemented Interfaces:
SpMgrEventListener, java.awt.event.ActionListener, java.util.EventListener
Direct Known Subclasses:
EcoAcceptSpwCfgComponent

public abstract class AcceptSpwCfgComponent
extends java.lang.Object
implements SpMgrEventListener, java.awt.event.ActionListener

 This class defines the AcceptSpwCfg Component of the EcoGUI.  It 
    listens for applicable EcoGui events and makes any
    necessary updates based upon them.
 
See the source: AcceptSpwCfgComponent

Version:
$Id: AcceptSpwCfgComponent.java,v 3.1 2006/03/14 15:56:09 samf Exp $
Author:
Mike Capito, ACT-510

Field Summary
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
private  EcoButton myB
           
protected  SimpilotManager spManager
           
 
Constructor Summary
AcceptSpwCfgComponent(SimpilotManager sm, SpLabLayoutDataModel spdm)
          Construct a new AcceptSpwCfgComponent.
 
Method Summary
abstract  void actionPerformed(java.awt.event.ActionEvent ae)
          This class is needed to implement the ActionListener interface - children classes must define this method.
abstract  void handleSpMgrEvent(SimpilotManagerEvent se)
          This class is needed to implement the EcoEventListener interface - children classes must define this method.
 EcoButton makeAcceptSpwCfgBtn(java.lang.String buttonName)
          This method is used to create an Gui implementation of the component
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values

myB

private EcoButton myB

spManager

protected SimpilotManager spManager
Constructor Detail

AcceptSpwCfgComponent

public AcceptSpwCfgComponent(SimpilotManager sm,
                             SpLabLayoutDataModel spdm)
Construct a new AcceptSpwCfgComponent.

Parameters:
ecoi - is the SimpilotManager to fire/listen for events on.
spdm - is the sim pilot data model, the layout of the lab.
Method Detail

makeAcceptSpwCfgBtn

public EcoButton makeAcceptSpwCfgBtn(java.lang.String buttonName)
This method is used to create an Gui implementation of the component

Parameters:
buttonName - the name for the button.

actionPerformed

public abstract void actionPerformed(java.awt.event.ActionEvent ae)
This class is needed to implement the ActionListener interface - children classes must define this method.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
ae - The ActionEvent to respond to
See Also:
ActionListener

handleSpMgrEvent

public abstract void handleSpMgrEvent(SimpilotManagerEvent se)
This class is needed to implement the EcoEventListener interface - children classes must define this method.

Specified by:
handleSpMgrEvent in interface SpMgrEventListener
Parameters:
ee - The EcoEvent to handle
See Also:
EcoEventListener