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
 State: no parameter file has been loaded.
static final int PAR_FILE_LOADED = 1
 State: parameter file has been successfully loaded.
static final int RUNNING = 2
 State: Model is running.
static final int PAUSED = 3
 State: Model has been paused.

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)
September 29, 2006: Added the harvest interface menu controls (LEM)
February 29, 2008: Added new tree setup window controls (LEM)

Member Function Documentation

static void javawrapper.MainWindowStateSetter.GoToState ( int  iState,
MainWindow  oWindow 
) [static]

Transfer the GUI from one state to another.

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

static void javawrapper.MainWindowStateSetter.GoToNoParFileState ( MainWindow  oWindow  )  [static, private]

Transition to the NO_PAR_FILE state.

Parameters:
oWindow Main application window.

static void javawrapper.MainWindowStateSetter.GoToPausedState ( MainWindow  oWindow  )  [static, private]

Transition to the PAUSED state.

Parameters:
oWindow Main application window.

static void javawrapper.MainWindowStateSetter.GoToParFileLoadedState ( MainWindow  oWindow  )  [static, private]

Transition to the PAR_FILE_LOADED state.

Parameters:
oWindow Main application window.

static void javawrapper.MainWindowStateSetter.GoToRunningState ( MainWindow  oWindow  )  [static, private]

Transition to the RUNNING state.

Parameters:
oWindow Main application window.


Member Data Documentation

State: no parameter file has been loaded.

State: parameter file has been successfully loaded.

State: Model is running.

State: Model has been paused.


The documentation for this class was generated from the following file:

Generated on Tue Apr 19 13:59:41 2011 for SORTIE Java Interface by  doxygen 1.5.6