|
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. | |
| 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. | |
| Behavior | 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. | |
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. |
|
protected |
The parent frame over which dialogs are displayed.
|
protected |
The behavior being set up.
|
protected |
GUIManager object to help extract data.
1.8.2