SORTIE Java Interface
1
|
This class displays the default dialog for editing the parameters for a single behavior. More...
Public Member Functions | |
DefaultBehaviorParameterEdit (JDialog jParent, GUIManager oManager, MainWindow oWindow, Behavior oBehavior) | |
Constructor. More... | |
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... | |
Behavior | m_oBehavior |
The behavior being set up. More... | |
GUIManager | m_oManager |
GUIManager object to help extract data. More... | |
Private Member Functions | |
void | passDataToBehavior () throws ModelException |
Pass the newly collected parameters to the behavior. More... | |
This class displays the default dialog for editing the parameters for a single behavior.
It shows a table with the parameters arranged by species. This window makes actual changes to the behavior.
sortie.gui.behaviorsetup.DefaultBehaviorParameterEdit.DefaultBehaviorParameterEdit | ( | JDialog | jParent, |
GUIManager | oManager, | ||
MainWindow | oWindow, | ||
Behavior | oBehavior | ||
) |
Constructor.
jParent | Parent frame for these dialogs. |
oManager | GUIManager. For accessing tree population. |
oWindow | MainWindow. For sizing this window. |
oBehavior | Behavior object for which we are displaying parameters. |
void sortie.gui.behaviorsetup.DefaultBehaviorParameterEdit.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.
e | ActionEvent object. |
|
protected |
Discovers which EnhancedTable in the parameter editing window has focus.
|
private |
Pass the newly collected parameters to the behavior.
void sortie.gui.behaviorsetup.DefaultBehaviorParameterEdit.setLastTouched | ( | EnhancedTable | oTable | ) |
Sets a table as last touched by the user.
oTable | Table to be set as last touched. |
Implements sortie.gui.behaviorsetup.EnhancedTableWindow.
|
protected |
The parent frame over which dialogs are displayed.
|
protected |
The behavior being set up.
|
protected |
GUIManager object to help extract data.