javawrapper::GridSetup Class Reference

Displays grid settings for editing. More...

List of all members.

Public Member Functions

 GridSetup (java.awt.Frame jParent, GUIManager oManager)
 Constructor.
 GridSetup (java.awt.Dialog jParent, GUIManager oManager)
 Constructor.
void actionPerformed (java.awt.event.ActionEvent oEvent)
 Called when the combo box is chosen or the buttons are pushed.

Protected Member Functions

void SaveGrid (Grid oGrid) throws ModelException
 Saves the contents of a grid's map values to a tab-delimited text file.


Detailed Description

Displays grid settings for editing.

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)
August 8, 2006: Made it so that there would be no duplicate grids (LEM)


Constructor & Destructor Documentation

javawrapper::GridSetup::GridSetup ( java.awt.Frame  jParent,
GUIManager  oManager 
) [inline]

Constructor.

Parameters:
jParent Frame in which to display this dialog.
oManager GUIManager object.

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

javawrapper::GridSetup::GridSetup ( java.awt.Dialog  jParent,
GUIManager  oManager 
) [inline]

Constructor.

Parameters:
jParent Frame in which to display this dialog.
oManager GUIManager object.

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


Member Function Documentation

void javawrapper::GridSetup::actionPerformed ( java.awt.event.ActionEvent  oEvent  )  [inline]

Called when the combo box is chosen or the buttons are pushed.

Parameters:
oEvent Event which triggered this function.

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

void javawrapper::GridSetup::SaveGrid ( Grid  oGrid  )  throws ModelException [inline, protected]

Saves the contents of a grid's map values to a tab-delimited text file.

The user gets a file chooser, and assuming they enter a filename, the file is saved. All values in the grid are saved; maps for different values are written successively.

Parameters:
oGrid Grid for which to write maps.
Exceptions:
ModelException if there is a problem writing the file.

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


The documentation for this class was generated from the following file:
Generated on Thu May 24 09:34:54 2007 for SORTIE Java Interface by  doxygen 1.5.2