Inheritance diagram for javawrapper::GridValueEditor:
Public Member Functions | |
GridValueEditor (JDialog oFrame, GUIManager oManager, Grid oGrid) | |
Constructor. | |
void | SetLastTouched (EnhancedTable oTable) |
Sets a table as last touched by the user. | |
void | actionPerformed (ActionEvent e) |
Responds to button events. | |
void | WriteCurrentWindow (String sFileName) |
Saves the data in the current set of tables as a tab-delimited text file. | |
void | SaveData () throws ModelException |
Saves updated grid values to the grids. | |
Protected Member Functions | |
EnhancedTable | GetLastTouchedTable () |
Discovers which EnhancedTable in the parameter editing window has focus. | |
String | GetDisplayName (DataMember[] p_oDataMemberList, String sCodeName) |
Gets the display name of a data member, given its code name. | |
Package Attributes | |
Vector | mp_oAllTables = new Vector(0) |
Vector holding all of the EnhancedTable objects in this window. | |
String | m_sHelpID = "windows.grid_edit_window" |
Help topic ID string. |
This uses EnhancedTable for advanced display and editing functions.
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
javawrapper::GridValueEditor::GridValueEditor | ( | JDialog | oFrame, | |
GUIManager | oManager, | |||
Grid | oGrid | |||
) | [inline] |
Constructor.
Builds the window. The window is composed of several panels, one for each grid data member and package data member.
oFrame | JDialog Parent window in which to display | |
oGrid | Grid Grid object for which to edit values. | |
oManager | GUIManager object |
void javawrapper::GridValueEditor::SetLastTouched | ( | EnhancedTable | oTable | ) | [inline] |
Sets a table as last touched by the user.
oTable | Table to be set as last touched. |
Implements javawrapper::EnhancedTableWindow.
void javawrapper::GridValueEditor::actionPerformed | ( | ActionEvent | e | ) | [inline] |
Responds to button events.
If OK, then the parameter window is constructed and this window is closed. If Cancel, then this window is closed.
e | ActionEvent object. |
EnhancedTable javawrapper::GridValueEditor::GetLastTouchedTable | ( | ) | [inline, protected] |
Discovers which EnhancedTable in the parameter editing window has focus.
void javawrapper::GridValueEditor::WriteCurrentWindow | ( | String | sFileName | ) | [inline] |
Saves the data in the current set of tables as a tab-delimited text file.
sFileName | File name to save to. |
void javawrapper::GridValueEditor::SaveData | ( | ) | throws ModelException [inline] |
Saves updated grid values to the grids.
ModelException | if the data extracted is invalid. |
String javawrapper::GridValueEditor::GetDisplayName | ( | DataMember[] | p_oDataMemberList, | |
String | sCodeName | |||
) | [inline, protected] |
Gets the display name of a data member, given its code name.
p_oDataMemberList | Array of all data members. | |
sCodeName | String The code name of the data member. |