Inherits javax::swing::JDialog.
Public Member Functions | |
| HarvestInterfaceSetup (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 from the harvest interface behavior, making it ready for display. | |
| void | RemoveColumn () throws ModelException |
| Removes file columns from the list to add. | |
| void | ColumnUp () throws ModelException |
| Moves a selected column up one position in the list. | |
| void | ColumnDown () throws ModelException |
| Moves a selected column down one position in the list. | |
| void | AddDataMember () throws ModelException |
| Adds a new data member, to be owned by this behavior. | |
| void | RemoveDataMember () throws ModelException |
| Removes a new data member. | |
| boolean | OK () throws ModelException |
| What happens when the OK button is clicked. | |
Protected Attributes | |
| MainWindow | m_oWindow |
| Main window. | |
| GUIManager | m_oManager |
| GUIManager object. | |
| Behavior | m_oBehaviorCopy |
| Copy of the behavior, so we can cancel edits if the user desires. | |
| JTextField | m_jExecutablePathEdit = new JTextField() |
| Field for capturing the executable's path and filename. | |
| JTextField | m_jSORTIEOutFileEdit = new JTextField() |
| Field for capturing the filename that SORTIE is to write. | |
| JTextField | m_jExecutableHarvestOutFileEdit = new JTextField() |
| Field for capturing the executable's harvest reply file. | |
| JTextField | m_jExecutableUpdateOutFileEdit = new JTextField() |
| Field for capturing the executable's update reply file. | |
| JTextField | m_jBatchParamsFileEdit = new JTextField() |
| Field for capturing the batch parameters file. | |
| JTextField | m_jBatchSingleRunParamsFileEdit = new JTextField() |
| Field for capturing the file for a single run of batch parameters. | |
| JTextField | m_jNewTreeDataMemberEdit = new JTextField() |
| Field for entering new tree data members. | |
| JTextField | m_jExecutableArgs = new JTextField() |
| Field for capturing argument strings to pass to the executable. | |
| JTextField | m_jHarvestPeriod = new JTextField() |
| Field for capturing the harvest period. | |
| JList | m_jAssignedCombosList |
| The list displaying the assigned species/type combos for this behavior. | |
| JList | m_jNewTreeDataMembersList |
| The list displaying the new tree data members for this behavior. | |
| JList | m_jFileColumnsList |
| The list displaying the file columns. | |
| JList | m_jSpecies |
| The list of species. | |
| JList | m_jTypes |
| The list of types. | |
| DefaultListModel | m_jAssignedCombosListModel |
| The assigned species/type combos for this behavior. | |
| DefaultListModel | m_jNewTreeDataMembersListModel |
| The new tree data members for this behavior. | |
| DefaultListModel | m_jFileColumnsListModel |
| The file columns for the harvest files. | |
| Vector< String > | mp_sAllExistingDataMembers = new Vector<String>(0) |
| List of existing data members, so we can make sure any added have unique names. | |
Private Member Functions | |
| void | CreateGUI () |
| Creates the window. | |
| void | Browse (JTextField jText) |
| Takes care of browsing. | |
Private Attributes | |
| String | m_sHelpID = "windows.edit_harvest_interface_window" |
| The ID of the help file for this window. | |
Classes | |
| class | FileColumnsChooser |
| Dialog for choosing new file columns. More... | |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
| javawrapper.HarvestInterfaceSetup.HarvestInterfaceSetup | ( | JFrame | oParent, | |
| GUIManager | oManager | |||
| ) | throws ModelException |
Constructor.
| oParent | JFrame Parent frame | |
| oManager | GUIManager GUIManager object |
| ModelException | Passing through from called functions. |
| void javawrapper.HarvestInterfaceSetup.LoadData | ( | ) | throws ModelException [protected] |
Extracts data from the harvest interface behavior, making it ready for display.
| ModelException | Passing through from other called functions. |
| void javawrapper.HarvestInterfaceSetup.actionPerformed | ( | java.awt.event.ActionEvent | e | ) |
Controls actions for this window.
| e | ActionEvent. |
| void javawrapper.HarvestInterfaceSetup.CreateGUI | ( | ) | [private] |
Creates the window.
| void javawrapper.HarvestInterfaceSetup.Browse | ( | JTextField | jText | ) | [private] |
Takes care of browsing.
| jText | JTextField The file field to browse for |
| void javawrapper.HarvestInterfaceSetup.RemoveColumn | ( | ) | throws ModelException [protected] |
Removes file columns 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.HarvestInterfaceSetup.ColumnUp | ( | ) | throws ModelException [protected] |
Moves a selected column up one position in the list.
| ModelException | if the user has tried to disturb the default columns. |
| void javawrapper.HarvestInterfaceSetup.ColumnDown | ( | ) | throws ModelException [protected] |
Moves a selected column down one position in the list.
| ModelException | if the request is to move a default column. |
| void javawrapper.HarvestInterfaceSetup.AddDataMember | ( | ) | throws ModelException [protected] |
Adds a new data member, to be owned by this behavior.
| ModelException | if:
|
| void javawrapper.HarvestInterfaceSetup.RemoveDataMember | ( | ) | throws ModelException [protected] |
| boolean javawrapper.HarvestInterfaceSetup.OK | ( | ) | throws ModelException [protected] |
What happens when the OK button is clicked.
The data is validated and passed to the DisturbanceBehaviors object as needed.
| ModelException | if:
|
Main window.
GUIManager object.
Copy of the behavior, so we can cancel edits if the user desires.
JTextField javawrapper.HarvestInterfaceSetup.m_jExecutablePathEdit = new JTextField() [protected] |
Field for capturing the executable's path and filename.
JTextField javawrapper.HarvestInterfaceSetup.m_jSORTIEOutFileEdit = new JTextField() [protected] |
Field for capturing the filename that SORTIE is to write.
JTextField javawrapper.HarvestInterfaceSetup.m_jExecutableHarvestOutFileEdit = new JTextField() [protected] |
Field for capturing the executable's harvest reply file.
JTextField javawrapper.HarvestInterfaceSetup.m_jExecutableUpdateOutFileEdit = new JTextField() [protected] |
Field for capturing the executable's update reply file.
JTextField javawrapper.HarvestInterfaceSetup.m_jBatchParamsFileEdit = new JTextField() [protected] |
Field for capturing the batch parameters file.
JTextField javawrapper.HarvestInterfaceSetup.m_jBatchSingleRunParamsFileEdit = new JTextField() [protected] |
Field for capturing the file for a single run of batch parameters.
JTextField javawrapper.HarvestInterfaceSetup.m_jNewTreeDataMemberEdit = new JTextField() [protected] |
Field for entering new tree data members.
JTextField javawrapper.HarvestInterfaceSetup.m_jExecutableArgs = new JTextField() [protected] |
Field for capturing argument strings to pass to the executable.
JTextField javawrapper.HarvestInterfaceSetup.m_jHarvestPeriod = new JTextField() [protected] |
Field for capturing the harvest period.
JList javawrapper.HarvestInterfaceSetup.m_jAssignedCombosList [protected] |
The list displaying the assigned species/type combos for this behavior.
JList javawrapper.HarvestInterfaceSetup.m_jNewTreeDataMembersList [protected] |
The list displaying the new tree data members for this behavior.
JList javawrapper.HarvestInterfaceSetup.m_jFileColumnsList [protected] |
The list displaying the file columns.
JList javawrapper.HarvestInterfaceSetup.m_jSpecies [protected] |
The list of species.
JList javawrapper.HarvestInterfaceSetup.m_jTypes [protected] |
The list of types.
DefaultListModel javawrapper.HarvestInterfaceSetup.m_jAssignedCombosListModel [protected] |
The assigned species/type combos for this behavior.
DefaultListModel javawrapper.HarvestInterfaceSetup.m_jNewTreeDataMembersListModel [protected] |
The new tree data members for this behavior.
DefaultListModel javawrapper.HarvestInterfaceSetup.m_jFileColumnsListModel [protected] |
The file columns for the harvest files.
Vector<String> javawrapper.HarvestInterfaceSetup.mp_sAllExistingDataMembers = new Vector<String>(0) [protected] |
List of existing data members, so we can make sure any added have unique names.
String javawrapper.HarvestInterfaceSetup.m_sHelpID = "windows.edit_harvest_interface_window" [private] |
The ID of the help file for this window.
1.5.6