|
SORTIE Java Interface
1
|
This is a window allowing scheduling of storms for the storm behavior. More...
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 () throws ModelException |
| 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< ScheduledStormInfo > | m_jStormsList |
| The list displaying the currently assigned storms. | |
| DefaultListModel < ScheduledStormInfo > | 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. | |
This is a window allowing scheduling of storms for the storm behavior.
Copyright: Copyright (c) Charles D. Canham 2003
Company: Cary Institute of Ecosystem Studies
| sortie.gui.ScheduledStormSetup.ScheduledStormSetup | ( | JFrame | oParent, |
| GUIManager | oManager | ||
| ) | throws ModelException |
Constructor.
| oParent | JFrame Parent frame |
| oManager | GUIManager GUIManager object |
| ModelException | Passing through from called functions. |
| void sortie.gui.ScheduledStormSetup.actionPerformed | ( | java.awt.event.ActionEvent | e | ) |
Controls actions for this window.
| e | ActionEvent. |
|
protected |
Adds a new scheduled storm.
| ModelException | if:
|
|
private |
Creates the window.
|
protected |
Extracts data on currently scheduled storms for display purposes.
| ModelException | Passing through from other called functions. |
|
protected |
What happens when the OK button is clicked.
The data is passed to the DisturbanceBehaviors object as needed.
|
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. |
|
protected |
Field for capturing the maximum storm severity for a scheduled storm.
|
protected |
Field for capturing the minimum storm severity for a scheduled storm.
|
protected |
The list displaying the currently assigned storms.
|
protected |
The list model for m_jStormsList.
|
protected |
Field for capturing the year the storm should occur.
|
protected |
GUIManager object.
|
protected |
Main window.
|
private |
The ID of the help file for this window.
1.8.2