Inherits javax::swing::JDialog, and java::awt::event::ActionListener.
Public Member Functions | |
DisplayBehaviorEdit (JDialog jParent, HelpBroker oHelpBroker) | |
Constructor. | |
void | actionPerformed (ActionEvent e) |
Performs actions for clicked buttons. | |
Protected Member Functions | |
Vector< String > | 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 | AddFloatClicker |
This class implements the float-click so that float-clicking on behavior names adds the behavior to the list. More... | |
class | ModifyFloatClicker |
This class implements the float-click so that float-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<String> javawrapper.ModelFlowSetup.DisplayBehaviorEdit.GetEnabledBehaviorList | ( | ) | [protected] |
Gets a list of enabled behavior names.
int javawrapper.ModelFlowSetup.DisplayBehaviorEdit.GetBehaviorGroupIndex | ( | String | sBehaviorName | ) | [protected] |
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.