SORTIE Java Interface
1
|
This is a window allowing scheduling of storms for the storm behavior. More...
Public Member Functions | |
ScheduledStormSetup (JDialog oParent, GUIManager oManager) | |
Constructor. More... | |
void | actionPerformed (ActionEvent e) |
Controls actions for this window. More... | |
Protected Member Functions | |
void | loadData () |
Extracts data on currently scheduled storms for display purposes. More... | |
void | removeStorms () throws ModelException |
Removes scheduled storms from the list to add. More... | |
void | addStorm () throws ModelException |
Adds a new scheduled storm. More... | |
void | ok () throws ModelException |
What happens when the OK button is clicked. More... | |
Protected Attributes | |
GUIManager | m_oManager |
GUIManager object. More... | |
JTextField | m_jMinStormSeverity = new JTextField(5) |
Field for capturing the minimum storm severity for a scheduled storm. More... | |
JTextField | m_jMaxStormSeverity = new JTextField(5) |
Field for capturing the maximum storm severity for a scheduled storm. More... | |
JTextField | m_jStormYear = new JTextField(5) |
Field for capturing the year the storm should occur. More... | |
JList< ScheduledStormInfo > | m_jStormsList |
The list displaying the currently assigned storms. More... | |
DefaultListModel< ScheduledStormInfo > | m_jStormsListModel |
The list model for m_jStormsList. More... | |
Private Member Functions | |
void | createGUI () |
Creates the window. More... | |
Private Attributes | |
String | m_sHelpID = "windows.edit_scheduled_storms_window" |
The ID of the help file for this window. More... | |
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 | ( | JDialog | oParent, |
GUIManager | oManager | ||
) |
Constructor.
oParent | JFrame Parent frame |
oManager | GUIManager GUIManager object |
ModelException | Passing through from called functions. |
void sortie.gui.ScheduledStormSetup.actionPerformed | ( | 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.
|
private |
The ID of the help file for this window.