Public Member Functions | |
| BatchSetup (JFrame jParent, GUIManager oManager) | |
| Constructor. | |
| BatchSetup (JFrame jParent, GUIManager oManager, String sBatchFile) throws ModelException | |
| Constructor. | |
| void | actionPerformed (ActionEvent oEvent) |
| Controls actions for this window. | |
| void | AddParFile (String sParFileName, int iNumTimesToRun) |
| Adds a new parameter file to the list for this batch. | |
Private Member Functions | |
| void | AddFile () |
| Adds a parameter file and number of times to the batch list. | |
| void | WriteFile () throws ModelException |
| Writes the batch file. | |
Private Attributes | |
| GUIManager | m_oManager |
| GUI Manager. | |
| DefaultListModel | m_jParFilesListModel |
| List model of parameter files currently added to file. | |
| JList | m_jParFilesList |
| List of parameter files currently added to file. | |
| JTextField | m_jParFileEdit = new JTextField() |
| Text field holding a proposed parameter file path and name. | |
| JTextField | m_jBatchFileEdit = new JTextField() |
| Text field holding the batch file path and name. | |
| JTextField | m_jNumTimesToRun = new JTextField() |
| Holds number of times to run a parameter file. | |
| String | m_sHelpID = "windows.batch_setup_window" |
| Help topic ID. | |
Copyright: Copyright (c) Charles D. Canham 2005
Company: Institute of Ecosystem Studies
| javawrapper.BatchSetup.BatchSetup | ( | JFrame | jParent, | |
| GUIManager | oManager | |||
| ) |
Constructor.
Creates the window and displays it.
| jParent | JFrame Parent frame for this dialog. | |
| oManager | GUIManager object. |
| javawrapper.BatchSetup.BatchSetup | ( | JFrame | jParent, | |
| GUIManager | oManager, | |||
| String | sBatchFile | |||
| ) | throws ModelException |
Constructor.
This reads an existing batch file in so it can be edited.
| jParent | JFrame Parent frame for this dialog. | |
| oManager | GUIManager object. | |
| sBatchFile | String Batch filename. |
| ModelException | Wrapping parse exceptions. |
| void javawrapper.BatchSetup.actionPerformed | ( | ActionEvent | oEvent | ) |
Controls actions for this window.
| oEvent | ActionEvent. |
| void javawrapper.BatchSetup.AddFile | ( | ) | [private] |
Adds a parameter file and number of times to the batch list.
This alerts the user if anything's missing or the data cannot be understood.
| void javawrapper.BatchSetup.WriteFile | ( | ) | throws ModelException [private] |
| void javawrapper.BatchSetup.AddParFile | ( | String | sParFileName, | |
| int | iNumTimesToRun | |||
| ) |
Adds a new parameter file to the list for this batch.
| sParFileName | String Filename of new parameter file. | |
| iNumTimesToRun | int Number of times to run the file. |
GUIManager javawrapper.BatchSetup.m_oManager [private] |
GUI Manager.
DefaultListModel javawrapper.BatchSetup.m_jParFilesListModel [private] |
List model of parameter files currently added to file.
JList javawrapper.BatchSetup.m_jParFilesList [private] |
List of parameter files currently added to file.
JTextField javawrapper.BatchSetup.m_jParFileEdit = new JTextField() [private] |
Text field holding a proposed parameter file path and name.
JTextField javawrapper.BatchSetup.m_jBatchFileEdit = new JTextField() [private] |
Text field holding the batch file path and name.
JTextField javawrapper.BatchSetup.m_jNumTimesToRun = new JTextField() [private] |
Holds number of times to run a parameter file.
String javawrapper.BatchSetup.m_sHelpID = "windows.batch_setup_window" [private] |
Help topic ID.
1.5.2