javawrapper.SizeClassEditor Class Reference

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

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

List of all members.

Public Member Functions

 SizeClassEditor (JFrame jParent, TreePopulation oPop)
 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.

Protected Attributes

TreePopulation m_oPop
 TreePopulation object that data changes will be communicated to.
DefaultListModel m_jSizeClassListModel
 List model for size classes.
JList m_jSizeClassList
 List displaying the size classes.
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)
February 27, 2008: Broke out into its own class

Constructor & Destructor Documentation

javawrapper.SizeClassEditor.SizeClassEditor ( JFrame  jParent,
TreePopulation  oPop 
)

Constructor.

Creates GUI.

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


Member Function Documentation

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

void javawrapper.SizeClassEditor.actionPerformed ( ActionEvent  oEvent  ) 

Responds to button clicks.

Parameters:
oEvent Event fired by button click


Member Data Documentation

TreePopulation object that data changes will be communicated to.

List model for size classes.

List displaying the size classes.

Field for entering new size class.

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

Help ID string.


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

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