javawrapper::ModelFlowSetup::DisplayComboEdit Class Reference

Displays the edit window for editing behavior flow for a tree species/ type combo. More...

List of all members.

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...


Detailed Description

Displays the edit window for editing behavior flow for a tree species/ type combo.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


Constructor & Destructor Documentation

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.

Parameters:
jParent Dialog window owning this dialog.
iType Tree type (life history stage).
iSpecies Tree species.
Exceptions:
ModelException passed through from called methods.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


Member Function Documentation

void javawrapper::ModelFlowSetup::DisplayComboEdit::actionPerformed ( ActionEvent  e  )  [inline]

Performs actions for clicked buttons.

Parameters:
e ActionEvent object.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

int javawrapper::ModelFlowSetup::DisplayComboEdit::GetBehaviorIndex ( String  sBehaviorName  )  [inline, protected]

Gets the index for a behavior (the absolute order in which behaviors go).

Parameters:
sBehaviorName Behavior name to get index for.
Returns:
Behavior index.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


The documentation for this class was generated from the following file:
Generated on Wed Nov 29 08:45:05 2006 for SORTIE Java Interface by  doxygen 1.4.7