javawrapper::MainWindowStateSetter Class Reference

The purpose of this class is to control the states of the main window - all the enabling and disabling, etc. More...

List of all members.

Static Public Member Functions

static void GoToState (int iState, MainWindow oWindow)
 Transfer the GUI from one state to another.

Static Public Attributes

static final int NO_PAR_FILE = 0
static final int PAR_FILE_LOADED = 1
static final int RUNNING = 2
static final int PAUSED = 3

Static Private Member Functions

static void GoToNoParFileState (MainWindow oWindow)
 Transition to the NO_PAR_FILE state.
static void GoToPausedState (MainWindow oWindow)
 Transition to the PAUSED state.
static void GoToParFileLoadedState (MainWindow oWindow)
 Transition to the PAR_FILE_LOADED state.
static void GoToRunningState (MainWindow oWindow)
 Transition to the RUNNING state.


Detailed Description

The purpose of this class is to control the states of the main window - all the enabling and disabling, etc.

The states are as follows:

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)
November 17, 2004: Added the run controls buttons (LEM)


Member Function Documentation

static void javawrapper::MainWindowStateSetter::GoToNoParFileState MainWindow  oWindow  )  [inline, static, private]
 

Transition to the NO_PAR_FILE state.

Parameters:
oWindow Main application window.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
May 4, 2004: Added Edit->Harvest item (LEM)

static void javawrapper::MainWindowStateSetter::GoToParFileLoadedState MainWindow  oWindow  )  [inline, static, private]
 

Transition to the PAR_FILE_LOADED state.

Parameters:
oWindow Main application window.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
May 4, 2004: Added Edit->Harvest item (LEM)

static void javawrapper::MainWindowStateSetter::GoToPausedState MainWindow  oWindow  )  [inline, static, private]
 

Transition to the PAUSED state.

Parameters:
oWindow Main application window.

Edit history:
------------------
November 17, 2004: Created (LEM)

static void javawrapper::MainWindowStateSetter::GoToRunningState MainWindow  oWindow  )  [inline, static, private]
 

Transition to the RUNNING state.

Parameters:
oWindow Main application window.

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

static void javawrapper::MainWindowStateSetter::GoToState int  iState,
MainWindow  oWindow
[inline, static]
 

Transfer the GUI from one state to another.

Parameters:
iState The state to which to transfer.
oWindow Main application window.

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


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