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 | |||
| ) |
Constructor.
Creates the GUI.
| jParent | Parent dialog in which to display this one. | |
| oHelpBroker | System Help broker. |
| Vector javawrapper.ModelFlowSetup.DisplayBehaviorEdit.GetEnabledBehaviorList | ( | ) | [protected] |
Gets a list of enabled behavior names.
| int javawrapper.ModelFlowSetup.DisplayBehaviorEdit.GetBehaviorGroupIndex | ( | String | sBehaviorName | ) | [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. |
| void javawrapper.ModelFlowSetup.DisplayBehaviorEdit.actionPerformed | ( | ActionEvent | e | ) |
Performs actions for clicked buttons.
| e | ActionEvent object. |
JComboBox javawrapper.ModelFlowSetup.DisplayBehaviorEdit.m_jBehaviorGroups [private] |
List if the behavior groupings in a combo box (Light, Growth, etc).
DefaultListModel javawrapper.ModelFlowSetup.DisplayBehaviorEdit.m_jBehaviorListModel [private] |
List model of behaviors for a behavior grouping.
DefaultListModel javawrapper.ModelFlowSetup.DisplayBehaviorEdit.m_jEnabledBehaviorListModel [private] |
List model of behaviors currently enabled.
List which actually displays the list of behaviors currently enabled.
JList javawrapper.ModelFlowSetup.DisplayBehaviorEdit.m_jBehaviorList [private] |
List which displays the list of behaviors for a behavior grouping.
String javawrapper.ModelFlowSetup.DisplayBehaviorEdit.m_sHelpID = "windows.run_behaviors_window" [private] |
The ID of the help topic for this window.
1.5.2