javawrapper.TreeSetup.SizeClassEditor Class Reference

Displays dialog for entering size class data. More...

List of all members.

Public Member Functions

 SizeClassEditor (JDialog jParent, HelpBroker oHelpBroker)
 Constructor.
void actionPerformed (ActionEvent oEvent)
 Responds to button clicks.

Protected Member Functions

void AddClass () throws ModelException
 Performs a size class add in response to the Add button click.
void UpdateSizeClasses ()
 Copies changes to the size class list made in this editor to m_jSizeClassListModelCopy into m_jSizeClassListModel.

Protected Attributes

JList m_jSizeClassList
 List displaying the size classes.
DefaultListModel m_jSizeClassListModelCopy
 Copy of size class list model.
JTextField m_jNewClass
 Field for entering new size class.

Private Attributes

String m_sHelpID = "windows.edit_size_classes"
 Help ID string.


Detailed Description

Displays dialog for entering size class data.

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.TreeSetup.SizeClassEditor.SizeClassEditor ( JDialog  jParent,
HelpBroker  oHelpBroker 
)

Constructor.

Creates GUI.

Parameters:
jParent Parent dialog in which to display this one.
oHelpBroker Application's help broker.

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


Member Function Documentation

void javawrapper.TreeSetup.SizeClassEditor.AddClass (  )  throws ModelException [protected]

Performs a size class add in response to the Add button click.

Exceptions:
ModelException if the value is not a number or is negative.

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

void javawrapper.TreeSetup.SizeClassEditor.UpdateSizeClasses (  )  [protected]

Copies changes to the size class list made in this editor to m_jSizeClassListModelCopy into m_jSizeClassListModel.


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

void javawrapper.TreeSetup.SizeClassEditor.actionPerformed ( ActionEvent  oEvent  ) 

Responds to button clicks.

Parameters:
oEvent Event fired by button click

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


Member Data Documentation

JList javawrapper.TreeSetup.SizeClassEditor.m_jSizeClassList [protected]

List displaying the size classes.

DefaultListModel javawrapper.TreeSetup.SizeClassEditor.m_jSizeClassListModelCopy [protected]

Copy of size class list model.

JTextField javawrapper.TreeSetup.SizeClassEditor.m_jNewClass [protected]

Field for entering new size class.

String javawrapper.TreeSetup.SizeClassEditor.m_sHelpID = "windows.edit_size_classes" [private]

Help ID string.


The documentation for this class was generated from the following file:
Generated on Fri Feb 1 10:52:17 2008 for SORTIE Java Interface by  doxygen 1.5.2