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

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

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

Public Member Functions

 NCIParameterEdit (JDialog jParent, GUIManager oManager, MainWindow oWindow, NCIMasterBase 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...
 

Public Attributes

ArrayList< ArrayList< EnhancedTable > > mp_oAllTables = null
 All of the EnhancedTable objects in this window; they are split out by groupings which match the groupings in mp_oAllObjects. 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...
 
NCIMasterBase 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< BehaviorParameterDisplaymp_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 NCI parameters, with a button for editing the function choices.

Author
LORA

Edits:

5/13/15: Changed the window size because it was too big vertically

Constructor & Destructor Documentation

◆ NCIParameterEdit()

sortie.gui.behaviorsetup.NCIParameterEdit.NCIParameterEdit ( JDialog  jParent,
GUIManager  oManager,
MainWindow  oWindow,
NCIMasterBase  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.NCIParameterEdit.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.NCIParameterEdit.createParametersPanel ( )
private

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

Returns

◆ getLastTouchedTable()

EnhancedTable sortie.gui.behaviorsetup.NCIParameterEdit.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.NCIParameterEdit.passDataToBehavior ( ) throws ModelException
private

Pass the newly collected parameters to the behavior.

◆ refreshParametersDisplay()

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

◆ setLastTouched()

void sortie.gui.behaviorsetup.NCIParameterEdit.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.NCIParameterEdit.m_jButtonPanel
private

◆ m_jOKPanel

OKCancelButtonPanel sortie.gui.behaviorsetup.NCIParameterEdit.m_jOKPanel
private

◆ m_jParentFrame

JDialog sortie.gui.behaviorsetup.NCIParameterEdit.m_jParentFrame
protected

The parent frame over which dialogs are displayed.

◆ m_jParentSize

Dimension sortie.gui.behaviorsetup.NCIParameterEdit.m_jParentSize
private

Size of parent window.

◆ m_oBehavior

NCIMasterBase sortie.gui.behaviorsetup.NCIParameterEdit.m_oBehavior
protected

The behavior being set up.

◆ m_oManager

GUIManager sortie.gui.behaviorsetup.NCIParameterEdit.m_oManager
protected

GUIManager object to help extract data.

◆ mp_oAllTables

ArrayList<ArrayList<EnhancedTable> > sortie.gui.behaviorsetup.NCIParameterEdit.mp_oAllTables = null

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

◆ mp_oBehDisp

ArrayList<BehaviorParameterDisplay> sortie.gui.behaviorsetup.NCIParameterEdit.mp_oBehDisp
private

Object that was displayed.


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