Public Member Functions | |
DisplayComboEdit (JDialog jParent, int iType, int iSpecies) throws ModelException | |
Constructor. | |
void | actionPerformed (ActionEvent e) |
Performs actions for clicked buttons. | |
Protected Member Functions | |
int | GetBehaviorIndex (String sBehaviorName) |
Gets the index for a behavior (the absolute order in which behaviors go). | |
Private Attributes | |
int | m_iType |
Tree type for displaying. | |
int | m_iSpecies |
Tree species for displaying. | |
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_jComboBehaviorListModel |
List model of behaviors applied to the species/type combo. | |
JList | m_jComboBehaviorList |
List which actually displays the list of behaviors applied to the species/type combo. | |
JList | m_jBehaviorList |
List which displays the list of behaviors for a behavior grouping. | |
String | m_sHelpID = "windows.tree_behavior_window" |
ID for the help topic corresponding to 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... |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
javawrapper::ModelFlowSetup::DisplayComboEdit::DisplayComboEdit | ( | JDialog | jParent, | |
int | iType, | |||
int | iSpecies | |||
) | throws ModelException [inline] |
Constructor.
Creates the dialog which allows the user to modify behavior choices and behavior order for a species/type combo.
jParent | Dialog window owning this dialog. | |
iType | Tree type (life history stage). | |
iSpecies | Tree species. |
ModelException | passed through from called methods. |
void javawrapper::ModelFlowSetup::DisplayComboEdit::actionPerformed | ( | ActionEvent | e | ) | [inline] |
Performs actions for clicked buttons.
e | ActionEvent object. |
int javawrapper::ModelFlowSetup::DisplayComboEdit::GetBehaviorIndex | ( | String | sBehaviorName | ) | [inline, protected] |