Inherits javax::swing::JDialog.
Public Member Functions | |
| ScheduledStormSetup (JFrame oParent, GUIManager oManager) throws ModelException | |
| Constructor. | |
| void | actionPerformed (java.awt.event.ActionEvent e) |
| Controls actions for this window. | |
Protected Member Functions | |
| void | LoadData () throws ModelException |
| Extracts data on currently scheduled storms for display purposes. | |
| void | RemoveStorms () throws ModelException |
| Removes scheduled storms from the list to add. | |
| void | AddStorm () throws ModelException |
| Adds a new scheduled storm. | |
| void | OK () |
| What happens when the OK button is clicked. | |
Protected Attributes | |
| MainWindow | m_oWindow |
| Main window. | |
| GUIManager | m_oManager |
| GUIManager object. | |
| JTextField | m_jMinStormSeverity = new JTextField(5) |
| Field for capturing the minimum storm severity for a scheduled storm. | |
| JTextField | m_jMaxStormSeverity = new JTextField(5) |
| Field for capturing the maximum storm severity for a scheduled storm. | |
| JTextField | m_jStormYear = new JTextField(5) |
| Field for capturing the year the storm should occur. | |
| JList | m_jStormsList |
| The list displaying the currently assigned storms. | |
| DefaultListModel | m_jStormsListModel |
| The list model for m_jStormsList. | |
Private Member Functions | |
| void | CreateGUI () |
| Creates the window. | |
Private Attributes | |
| String | m_sHelpID = "windows.edit_scheduled_storms_window" |
| The ID of the help file for this window. | |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
| javawrapper.ScheduledStormSetup.ScheduledStormSetup | ( | JFrame | oParent, | |
| GUIManager | oManager | |||
| ) | throws ModelException |
Constructor.
| oParent | JFrame Parent frame | |
| oManager | GUIManager GUIManager object |
| ModelException | Passing through from called functions. |
| void javawrapper.ScheduledStormSetup.LoadData | ( | ) | throws ModelException [protected] |
Extracts data on currently scheduled storms for display purposes.
| ModelException | Passing through from other called functions. |
| void javawrapper.ScheduledStormSetup.actionPerformed | ( | java.awt.event.ActionEvent | e | ) |
Controls actions for this window.
| e | ActionEvent. |
| void javawrapper.ScheduledStormSetup.CreateGUI | ( | ) | [private] |
Creates the window.
| void javawrapper.ScheduledStormSetup.RemoveStorms | ( | ) | throws ModelException [protected] |
Removes scheduled storms from the list to add.
| ModelException | if a column is not selected, or if the user tries to remove a default column from the list. |
| void javawrapper.ScheduledStormSetup.AddStorm | ( | ) | throws ModelException [protected] |
Adds a new scheduled storm.
| ModelException | if:
|
| void javawrapper.ScheduledStormSetup.OK | ( | ) | [protected] |
What happens when the OK button is clicked.
The data is passed to the DisturbanceBehaviors object as needed.
MainWindow javawrapper.ScheduledStormSetup.m_oWindow [protected] |
Main window.
GUIManager javawrapper.ScheduledStormSetup.m_oManager [protected] |
GUIManager object.
JTextField javawrapper.ScheduledStormSetup.m_jMinStormSeverity = new JTextField(5) [protected] |
Field for capturing the minimum storm severity for a scheduled storm.
JTextField javawrapper.ScheduledStormSetup.m_jMaxStormSeverity = new JTextField(5) [protected] |
Field for capturing the maximum storm severity for a scheduled storm.
JTextField javawrapper.ScheduledStormSetup.m_jStormYear = new JTextField(5) [protected] |
Field for capturing the year the storm should occur.
JList javawrapper.ScheduledStormSetup.m_jStormsList [protected] |
The list displaying the currently assigned storms.
DefaultListModel javawrapper.ScheduledStormSetup.m_jStormsListModel [protected] |
The list model for m_jStormsList.
String javawrapper.ScheduledStormSetup.m_sHelpID = "windows.edit_scheduled_storms_window" [private] |
The ID of the help file for this window.
1.5.6