Public Member Functions | |
| DisplayBehaviorEdit (JDialog jParent, HelpBroker oHelpBroker) | |
| Constructor. | |
| void | actionPerformed (ActionEvent e) |
| Performs actions for clicked buttons. | |
Protected Member Functions | |
| Vector | GetEnabledBehaviorList () |
| Gets a list of enabled behavior names. | |
| int | GetBehaviorGroupIndex (String sBehaviorName) |
| Gets the group index for a behavior (the order in which parent behavior groups go). | |
Private Attributes | |
| JComboBox | m_jBehaviorGroups |
| List if the behavior groupings in a combo box (Light, Growth, etc). | |
| DefaultListModel | m_jBehaviorListModel |
| List model of behaviors for a behavior grouping. | |
| DefaultListModel | m_jEnabledBehaviorListModel |
| List model of behaviors currently enabled. | |
| JList | m_jEnabledBehaviorList |
| List which actually displays the list of behaviors currently enabled. | |
| JList | m_jBehaviorList |
| List which displays the list of behaviors for a behavior grouping. | |
| String | m_sHelpID = "windows.run_behaviors_window" |
| The ID of the help topic for this window. | |
Classes | |
| class | AddDoubleClicker |
| This class implements the double-click so that double-clicking on behavior names adds the behavior to the list. More... | |
| class | ModifyDoubleClicker |
| This class implements the double-click so that double-clicking on behavior names launches the behavior combo editor. More... | |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
| javawrapper::ModelFlowSetup::DisplayBehaviorEdit::DisplayBehaviorEdit | ( | JDialog | jParent, | |
| HelpBroker | oHelpBroker | |||
| ) | [inline] |
Constructor.
Creates the GUI.
| jParent | Parent dialog in which to display this one. | |
| oHelpBroker | System Help broker. |
| void javawrapper::ModelFlowSetup::DisplayBehaviorEdit::actionPerformed | ( | ActionEvent | e | ) | [inline] |
Performs actions for clicked buttons.
| e | ActionEvent object. |
| int javawrapper::ModelFlowSetup::DisplayBehaviorEdit::GetBehaviorGroupIndex | ( | String | sBehaviorName | ) | [inline, protected] |
Gets the group index for a behavior (the order in which parent behavior groups go).
This keeps behaviors in group order so they can only move within their group.
| sBehaviorName | Behavior name to get index for. |
| Vector javawrapper::ModelFlowSetup::DisplayBehaviorEdit::GetEnabledBehaviorList | ( | ) | [inline, protected] |
Gets a list of enabled behavior names.
1.4.7