Inherits javax::swing::JDialog, and java::awt::event::ActionListener.
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). | |
Static Package Attributes | |
| static final long | serialVersionUID = 1 |
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 |
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. |
| int javawrapper.ModelFlowSetup.DisplayComboEdit.GetBehaviorIndex | ( | String | sBehaviorName | ) | [protected] |
| void javawrapper.ModelFlowSetup.DisplayComboEdit.actionPerformed | ( | ActionEvent | e | ) |
Performs actions for clicked buttons.
| e | ActionEvent object. |
final long javawrapper.ModelFlowSetup.DisplayComboEdit.serialVersionUID = 1 [static, package] |
int javawrapper.ModelFlowSetup.DisplayComboEdit.m_iType [private] |
Tree type for displaying.
int javawrapper.ModelFlowSetup.DisplayComboEdit.m_iSpecies [private] |
Tree species for displaying.
JComboBox javawrapper.ModelFlowSetup.DisplayComboEdit.m_jBehaviorGroups [private] |
List if the behavior groupings in a combo box (Light, Growth, etc).
DefaultListModel javawrapper.ModelFlowSetup.DisplayComboEdit.m_jBehaviorListModel [private] |
List model of behaviors for a behavior grouping.
DefaultListModel javawrapper.ModelFlowSetup.DisplayComboEdit.m_jComboBehaviorListModel [private] |
List model of behaviors applied to the species/type combo.
JList javawrapper.ModelFlowSetup.DisplayComboEdit.m_jComboBehaviorList [private] |
List which actually displays the list of behaviors applied to the species/type combo.
JList javawrapper.ModelFlowSetup.DisplayComboEdit.m_jBehaviorList [private] |
List which displays the list of behaviors for a behavior grouping.
String javawrapper.ModelFlowSetup.DisplayComboEdit.m_sHelpID = "windows.tree_behavior_window" [private] |
ID for the help topic corresponding to this window.
1.5.6