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 | |||
| ) | [inline] |
Constructor.
Creates GUI.
| jParent | Parent dialog in which to display this one. | |
| oHelpBroker | Application's help broker. |
| void javawrapper::TreeSetup::SizeClassEditor::actionPerformed | ( | ActionEvent | oEvent | ) | [inline] |
Responds to button clicks.
| oEvent | Event fired by button click |
| void javawrapper::TreeSetup::SizeClassEditor::AddClass | ( | ) | throws ModelException [inline, 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 | ( | ) | [inline, 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)
1.4.7