javawrapper.ModelFlowSetup.DisplayComboEdit Class Reference

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

Inherits javax::swing::JDialog, and java::awt::event::ActionListener.

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  AddFloatClicker
 This class implements the float-click so that float-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

Constructor & Destructor Documentation

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.

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


Member Function Documentation

int javawrapper.ModelFlowSetup.DisplayComboEdit.GetBehaviorIndex ( String  sBehaviorName  )  [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.

void javawrapper.ModelFlowSetup.DisplayComboEdit.actionPerformed ( ActionEvent  e  ) 

Performs actions for clicked buttons.

Parameters:
e ActionEvent object.


Member Data Documentation

Tree type for displaying.

Tree species for displaying.

List if the behavior groupings in a combo box (Light, Growth, etc).

List model of behaviors for a behavior grouping.

List model of behaviors applied to the species/type combo.

List which actually displays the list of behaviors applied to the species/type combo.

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.


The documentation for this class was generated from the following file:

Generated on Tue Apr 19 13:59:42 2011 for SORTIE Java Interface by  doxygen 1.5.6