javawrapper::DisplayParameters Class Reference

Displays a window with parameter data for the user to edit. More...

Inheritance diagram for javawrapper::DisplayParameters:

javawrapper::EnhancedTableWindow List of all members.

Public Member Functions

void actionPerformed (ActionEvent e)
 Responds to button events.
void SaveCurrentWindow (String sFileName)
 Saves the data in the current set of tables as a tab-delimited text file.
void SetLastTouched (EnhancedTable oTable)
 Sets a table as last touched by the user.

Protected Member Functions

EnhancedTable GetLastTouchedTable ()
 Discovers which EnhancedTable in the parameter editing window has focus.

Package Functions

 DisplayParameters (GUIManager oManager, MainWindow oWindow, ParameterEdit oChoicesWindow)
 Constructor.

Package Attributes

GUIManager m_oManager
 GUIManager object containing the data to display.
ParameterEdit m_oChoicesWindow
 Parameter chooser window.
Vector mp_oAllTables
 Vector holding all of the EnhancedTable objects in this window.
MainWindow m_oMainWindow
 Main window - we will need to communicate directories with it.

Private Attributes

String m_sHelpID = "windows.parameters_window"
 Help ID.

Detailed Description

Displays a window with parameter data for the user to edit.

This window displays the data in a set of EnhancedTables. The user can edit data, copy and paste it between a spreadsheet, or print it off. Copyright: Copyright (c) Charles D. Canham 2003 Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


Constructor & Destructor Documentation

javawrapper::DisplayParameters::DisplayParameters GUIManager  oManager,
MainWindow  oWindow,
ParameterEdit  oChoicesWindow
[inline, package]
 

Constructor.

Builds the GUI.

Parameters:
oWindow Window that's the parent of this dialog.
oManager GUIManager object.
oChoicesWindow Which choices are picked


Member Function Documentation

void javawrapper::DisplayParameters::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.

Parameters:
e ActionEvent object.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
November 15, 2004: Made it so cells still in edit mode get their contents saved (LEM)

EnhancedTable javawrapper::DisplayParameters::GetLastTouchedTable  )  [inline, protected]
 

Discovers which EnhancedTable in the parameter editing window has focus.

Returns:
EnhancedTable object with focus, or null if none has focus.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

void javawrapper::DisplayParameters::SaveCurrentWindow String  sFileName  )  [inline]
 

Saves the data in the current set of tables as a tab-delimited text file.

Parameters:
sFileName File name to save to.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

void javawrapper::DisplayParameters::SetLastTouched EnhancedTable  oTable  )  [inline]
 

Sets a table as last touched by the user.

Parameters:
oTable Table to be set as last touched.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

Implements javawrapper::EnhancedTableWindow.


The documentation for this class was generated from the following file:
Generated on Mon Mar 27 15:15:45 2006 for SORTIE Java Interface by  doxygen 1.4.6-NO