javawrapper.ModelFlowSetup.DisplayBehaviorEdit Class Reference

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

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

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

Static Package Attributes

static final long serialVersionUID = 1

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 
)

Constructor.

Creates the GUI.

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


Member Function Documentation

Vector<String> javawrapper.ModelFlowSetup.DisplayBehaviorEdit.GetEnabledBehaviorList (  )  [protected]

Gets a list of enabled behavior names.

Returns:
List of enabled behavior names.

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

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

Performs actions for clicked buttons.

Parameters:
e ActionEvent object.


Member Data Documentation

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

List model of behaviors for a behavior grouping.

List model of behaviors currently enabled.

List which actually displays the list of behaviors currently enabled.

List which displays the list of behaviors for a behavior grouping.

String javawrapper.ModelFlowSetup.DisplayBehaviorEdit.m_sHelpID = "windows.run_behaviors_window" [private]

The ID of the help topic for this window.


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

Generated on Wed Oct 28 14:01:22 2009 for SORTIE Java Interface by  doxygen 1.5.6