javawrapper::ModelFlowSetup::DisplayBehaviorEdit Class Reference

Displays the edit window for editing behavior order. More...

List of all members.

Public Member Functions

 DisplayBehaviorEdit (JDialog jParent, HelpBroker oHelpBroker)
 Constructor.
void actionPerformed (ActionEvent e)
 Performs actions for clicked buttons.

Protected Member Functions

Vector 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  AddDoubleClicker
 This class implements the double-click so that double-clicking on behavior names adds the behavior to the list. More...
class  ModifyDoubleClicker
 This class implements the double-click so that double-clicking on behavior names launches the behavior combo editor. More...


Detailed Description

Displays the edit window for editing behavior order.

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::DisplayBehaviorEdit::DisplayBehaviorEdit ( JDialog  jParent,
HelpBroker  oHelpBroker 
) [inline]

Constructor.

Creates the GUI.

Parameters:
jParent Parent dialog in which to display this one.
oHelpBroker System Help broker.

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


Member Function Documentation

void javawrapper::ModelFlowSetup::DisplayBehaviorEdit::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::DisplayBehaviorEdit::GetBehaviorGroupIndex ( String  sBehaviorName  )  [inline, protected]

Gets the group index for a behavior (the order in which parent behavior groups go).

This keeps behaviors in group order so they can only move within their group.

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

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

Vector javawrapper::ModelFlowSetup::DisplayBehaviorEdit::GetEnabledBehaviorList (  )  [inline, protected]

Gets a list of enabled behavior names.

Returns:
List of enabled behavior names.

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