SORTIE Java Interface  1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
sortie.gui.behaviorsetup.StormParameterEdit Class Reference

This class displays the dialog for editing Storm parameters, with a button for scheduling storms. More...

Inheritance diagram for sortie.gui.behaviorsetup.StormParameterEdit:
sortie.gui.behaviorsetup.EnhancedTableWindow

Public Member Functions

 StormParameterEdit (JDialog jParent, GUIManager oManager, MainWindow oWindow, Storm oBehavior)
 Constructor.
 
void actionPerformed (ActionEvent e)
 Responds to button events.
 
void setLastTouched (EnhancedTable oTable)
 Sets a table as last touched by the user.
 
- Public Member Functions inherited from sortie.gui.behaviorsetup.EnhancedTableWindow
void setLastTouched (EnhancedTable oTable)
 A table calls this function to let the parent class know that it was the last one with focus.
 

Protected Member Functions

EnhancedTable getLastTouchedTable ()
 Discovers which EnhancedTable in the parameter editing window has focus.
 

Protected Attributes

JDialog m_jParentFrame
 The parent frame over which dialogs are displayed.
 
Storm m_oBehavior
 The behavior being set up.
 
GUIManager m_oManager
 GUIManager object to help extract data.
 

Private Member Functions

void passDataToBehavior () throws ModelException
 Pass the newly collected parameters to the behavior.
 

Private Attributes

ArrayList< EnhancedTablemp_oAllTables
 All of the EnhancedTable objects in this window; they are split out by groupings which match the groupings in mp_oAllObjects.
 
BehaviorParameterDisplay m_oBehDisp
 Object that was displayed.
 
Dimension m_jParentSize
 Size of parent window.
 

Detailed Description

This class displays the dialog for editing Storm parameters, with a button for scheduling storms.

Author
LORA

Constructor & Destructor Documentation

sortie.gui.behaviorsetup.StormParameterEdit.StormParameterEdit ( JDialog  jParent,
GUIManager  oManager,
MainWindow  oWindow,
Storm  oBehavior 
)

Constructor.

Parameters
jParentParent frame for these dialogs.
oManagerGUIManager. For accessing tree population.
oWindowMainWindow. For sizing this window.
oBehaviorBehavior object for which we are displaying parameters.

Member Function Documentation

void sortie.gui.behaviorsetup.StormParameterEdit.actionPerformed ( ActionEvent  e)

Responds to button events.

If OK, then the parameter window is constructed and this window is closed. If Cancel, then this window is closed.

Parameters
eActionEvent object.
EnhancedTable sortie.gui.behaviorsetup.StormParameterEdit.getLastTouchedTable ( )
protected

Discovers which EnhancedTable in the parameter editing window has focus.

Returns
EnhancedTable object with focus, or null if none has focus.
void sortie.gui.behaviorsetup.StormParameterEdit.passDataToBehavior ( ) throws ModelException
private

Pass the newly collected parameters to the behavior.

void sortie.gui.behaviorsetup.StormParameterEdit.setLastTouched ( EnhancedTable  oTable)

Sets a table as last touched by the user.

Parameters
oTableTable to be set as last touched.

Member Data Documentation

JDialog sortie.gui.behaviorsetup.StormParameterEdit.m_jParentFrame
protected

The parent frame over which dialogs are displayed.

Dimension sortie.gui.behaviorsetup.StormParameterEdit.m_jParentSize
private

Size of parent window.

Storm sortie.gui.behaviorsetup.StormParameterEdit.m_oBehavior
protected

The behavior being set up.

BehaviorParameterDisplay sortie.gui.behaviorsetup.StormParameterEdit.m_oBehDisp
private

Object that was displayed.

GUIManager sortie.gui.behaviorsetup.StormParameterEdit.m_oManager
protected

GUIManager object to help extract data.

ArrayList<EnhancedTable> sortie.gui.behaviorsetup.StormParameterEdit.mp_oAllTables
private

All of the EnhancedTable objects in this window; they are split out by groupings which match the groupings in mp_oAllObjects.


The documentation for this class was generated from the following file: