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

This class displays the dialog for editing Allometry parameters, with a button for editing the function choices. More...

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

Public Member Functions

 AllometryParameterEdit (JDialog jParent, GUIManager oManager, MainWindow oWindow, Allometry oBehavior)
 Constructor. More...
 
void refreshParametersDisplay ()
 
void actionPerformed (ActionEvent e)
 Responds to button events. More...
 
void setLastTouched (EnhancedTable oTable)
 Sets a table as last touched by the user. More...
 

Protected Member Functions

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

Protected Attributes

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

Private Member Functions

QuickScrollingPanel createParametersPanel ()
 Creates the panel with parameters so it can be re-created when function choices are changed. More...
 
void passDataToBehavior () throws ModelException
 Pass the newly collected parameters to the behavior. More...
 

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. More...
 
BehaviorParameterDisplay m_oBehDisp
 Object that was displayed. More...
 
Dimension m_jParentSize
 Size of parent window. More...
 
JPanel m_jButtonPanel
 
OKCancelButtonPanel m_jOKPanel
 

Detailed Description

This class displays the dialog for editing Allometry parameters, with a button for editing the function choices.

Author
LORA

Constructor & Destructor Documentation

◆ AllometryParameterEdit()

sortie.gui.behaviorsetup.AllometryParameterEdit.AllometryParameterEdit ( JDialog  jParent,
GUIManager  oManager,
MainWindow  oWindow,
Allometry  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

◆ actionPerformed()

void sortie.gui.behaviorsetup.AllometryParameterEdit.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.

◆ createParametersPanel()

QuickScrollingPanel sortie.gui.behaviorsetup.AllometryParameterEdit.createParametersPanel ( )
private

Creates the panel with parameters so it can be re-created when function choices are changed.

Returns

◆ getLastTouchedTable()

EnhancedTable sortie.gui.behaviorsetup.AllometryParameterEdit.getLastTouchedTable ( )
protected

Discovers which EnhancedTable in the parameter editing window has focus.

Returns
EnhancedTable object with focus, or null if none has focus.

◆ passDataToBehavior()

void sortie.gui.behaviorsetup.AllometryParameterEdit.passDataToBehavior ( ) throws ModelException
private

Pass the newly collected parameters to the behavior.

◆ refreshParametersDisplay()

void sortie.gui.behaviorsetup.AllometryParameterEdit.refreshParametersDisplay ( )

◆ setLastTouched()

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

Sets a table as last touched by the user.

Parameters
oTableTable to be set as last touched.

Implements sortie.gui.behaviorsetup.EnhancedTableWindow.

Member Data Documentation

◆ m_jButtonPanel

JPanel sortie.gui.behaviorsetup.AllometryParameterEdit.m_jButtonPanel
private

◆ m_jOKPanel

OKCancelButtonPanel sortie.gui.behaviorsetup.AllometryParameterEdit.m_jOKPanel
private

◆ m_jParentFrame

JDialog sortie.gui.behaviorsetup.AllometryParameterEdit.m_jParentFrame
protected

The parent frame over which dialogs are displayed.

◆ m_jParentSize

Dimension sortie.gui.behaviorsetup.AllometryParameterEdit.m_jParentSize
private

Size of parent window.

◆ m_oBehavior

Allometry sortie.gui.behaviorsetup.AllometryParameterEdit.m_oBehavior
protected

The behavior being set up.

◆ m_oBehDisp

BehaviorParameterDisplay sortie.gui.behaviorsetup.AllometryParameterEdit.m_oBehDisp
private

Object that was displayed.

◆ m_oManager

GUIManager sortie.gui.behaviorsetup.AllometryParameterEdit.m_oManager
protected

GUIManager object to help extract data.

◆ mp_oAllTables

ArrayList<EnhancedTable> sortie.gui.behaviorsetup.AllometryParameterEdit.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: