SORTIE Java Interface
1
|
Displays dialog for entering size class data. More...
Public Member Functions | |
SizeClassEditor (JFrame jParent, TreePopulation oPop) | |
Constructor. More... | |
void | actionPerformed (ActionEvent oEvent) |
Responds to button clicks. More... | |
Protected Member Functions | |
void | addClass () throws ModelException |
Performs a size class add in response to the Add button click. More... | |
Protected Attributes | |
TreePopulation | m_oPop |
TreePopulation object that data changes will be communicated to. More... | |
DefaultListModel< Float > | m_jSizeClassListModel |
List model for size classes. More... | |
JList< Float > | m_jSizeClassList |
List displaying the size classes. More... | |
JTextField | m_jNewClass |
Field for entering new size class. More... | |
Private Attributes | |
String | m_sHelpID = "windows.edit_size_classes" |
Help ID string. More... | |
Displays dialog for entering size class data.
Copyright: Copyright (c) Charles D. Canham 2003
Company: Cary Institute of Ecosystem Studies
Edit history:
---------------—
April 28, 2004: Submitted in beta version (LEM)
February 27, 2008: Broke out into its own class
sortie.gui.SizeClassEditor.SizeClassEditor | ( | JFrame | jParent, |
TreePopulation | oPop | ||
) |
Constructor.
Creates GUI.
jParent | Parent dialog in which to display this one. |
oPop | Tree population object. |
void sortie.gui.SizeClassEditor.actionPerformed | ( | ActionEvent | oEvent | ) |
Responds to button clicks.
oEvent | Event fired by button click |
|
protected |
Performs a size class add in response to the Add button click.
ModelException | if the value is not a number or is negative. |
|
protected |
Field for entering new size class.
|
protected |
List displaying the size classes.
|
protected |
List model for size classes.
|
protected |
TreePopulation object that data changes will be communicated to.
|
private |
Help ID string.