faa.tg.eco.ecogui.spwcfg
Class AbstractLayoutElement

java.lang.Object
  extended by faa.tg.eco.ecogui.spwcfg.AbstractLayoutElement
All Implemented Interfaces:
SpMgrEventListener
Direct Known Subclasses:
SpLayoutElement, SpMiniLayoutElement

public abstract class AbstractLayoutElement
extends java.lang.Object
implements SpMgrEventListener

 This class defines the Controller/view model for the
 SpWorkstations in a lab.
 
See the source: AbstractLayoutElement.java

Version:
$Id: AbstractLayoutElement.java,v 3.1 2006/03/14 15:56:09 samf Exp $
Author:
Timothy Swantek

Field Summary
protected  int column
           
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
protected  java.net.InetAddress ipAddr
           
protected  java.lang.String name
           
protected  int row
           
protected  SimpilotManager simpilotManager
           
protected  SpWorkStation spws
           
 
Constructor Summary
AbstractLayoutElement(SimpilotManager sm, SpWorkStation spws)
           
 
Method Summary
abstract  void handleSpMgrEvent(SimpilotManagerEvent se)
          This method is needed to implement the EcoEventListener interface.
abstract  javax.swing.JComponent makeGUIRepresentation()
          This method should be defined in the extending classes.
 
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

name

protected java.lang.String name

row

protected int row

column

protected int column

ipAddr

protected java.net.InetAddress ipAddr

spws

protected SpWorkStation spws

simpilotManager

protected SimpilotManager simpilotManager
Constructor Detail

AbstractLayoutElement

public AbstractLayoutElement(SimpilotManager sm,
                             SpWorkStation spws)
Method Detail

handleSpMgrEvent

public abstract void handleSpMgrEvent(SimpilotManagerEvent se)
This method is needed to implement the EcoEventListener interface. It describes which EcoEvents to listener for, and how to react upon hearing them. Child classes must define how to respond to these events.

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

makeGUIRepresentation

public abstract javax.swing.JComponent makeGUIRepresentation()
This method should be defined in the extending classes. It would define the GUI representation of this object.

Parameters:
component - is the JComponent to add this representation too.