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 to add to file. | |
| JTextField | m_jParFileEdit = new JTextField() |
| Text field holding the 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 | |||
| ) | [inline] |
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 [inline] |
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 | ) | [inline] |
Controls actions for this window.
| oEvent | ActionEvent. |
| void javawrapper::BatchSetup::AddFile | ( | ) | [inline, 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::AddParFile | ( | String | sParFileName, | |
| int | iNumTimesToRun | |||
| ) | [inline] |
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. |
| void javawrapper::BatchSetup::WriteFile | ( | ) | throws ModelException [inline, private] |
1.4.7