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. |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
javawrapper.TreeSetup.SizeClassEditor.SizeClassEditor | ( | JDialog | jParent, | |
HelpBroker | oHelpBroker | |||
) |
Constructor.
Creates GUI.
jParent | Parent dialog in which to display this one. | |
oHelpBroker | Application's help broker. |
void javawrapper.TreeSetup.SizeClassEditor.AddClass | ( | ) | throws ModelException [protected] |
Performs a size class add in response to the Add button click.
ModelException | if the value is not a number or is negative. |
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.
oEvent | Event fired by button click |
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.