Inheritance diagram for javawrapper::Plot:

Public Member Functions | |
| Plot (GUIManager oManager) | |
| Default constructor initializes all values to the equivalent of 0. | |
| void | DoSetup (TreePopulation oPop) |
| Does nothing. | |
| void | SetYearsPerTimestep (float fYears) throws ModelException |
| Sets the number of years per timestep. | |
| float | GetNumberOfYearsPerTimestep () |
| Gets the number of years per timestep. | |
| void | SetPlotTitle (String sTitle) |
| Sets the plot title. | |
| void | SetNumberOfTimesteps (int i) throws ModelException |
| Sets the number of timesteps for a run. | |
| int | GetNumberOfTimesteps () |
| Gets the number of timesteps for a run. | |
| void | SetRandomSeed (int i) |
| Sets the random seed for the run. | |
| void | SetPlotXLength (float f) throws ModelException |
| Sets the plot length in the X (East-West) direction. | |
| float | GetPlotXLength () |
| Gets the current plot X (East-West) length. | |
| void | SetPlotYLength (float f) throws ModelException |
| Sets the plot length in the Y (North-South) direction. | |
| float | GetPlotYLength () |
| Gets the current plot Y (North-South) length. | |
| void | SetLatitude (float f) throws ModelException |
| Sets the latitude of the plot. | |
| void | ValidateData (TreePopulation oPop) throws ModelException |
| Validates the data prior to running the model. | |
Static Public Attributes | |
| static final float | CELL_LENGTH = (float)8.0 |
| Length of cells, in meters. | |
Protected Attributes | |
| ModelString | m_sPlotTitle = new ModelString("", "Plot title", "plot_title") |
| Plot title or comment. | |
| ModelFloat | m_fPlotLenX |
| Length of plot in X direction. | |
| ModelFloat | m_fPlotLenY |
| Length of plot in Y direction. | |
| ModelFloat | m_fLatitude |
| Latitude of plot in decimal degrees. | |
| ModelFloat | m_fNumberOfYearsPerTimestep |
| Number of years per timestep - default to 5, the old value. | |
| ModelInt | m_iNumTimesteps |
| Number of timesteps for the run. | |
| ModelInt | m_iRandomSeed |
| Run's random seed. | |
| ModelInt | m_iCurrentTimestep |
| Current timestep, if a detailed output timestep file has been fed in. | |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
| javawrapper::Plot::Plot | ( | GUIManager | oManager | ) | [inline] |
Default constructor initializes all values to the equivalent of 0.
| oManager | GUIManager object. |
| void javawrapper::Plot::DoSetup | ( | TreePopulation | oPop | ) | [inline, virtual] |
| int javawrapper::Plot::GetNumberOfTimesteps | ( | ) | [inline] |
Gets the number of timesteps for a run.
| float javawrapper::Plot::GetNumberOfYearsPerTimestep | ( | ) | [inline] |
Gets the number of years per timestep.
| float javawrapper::Plot::GetPlotXLength | ( | ) | [inline] |
Gets the current plot X (East-West) length.
| float javawrapper::Plot::GetPlotYLength | ( | ) | [inline] |
Gets the current plot Y (North-South) length.
| void javawrapper::Plot::SetLatitude | ( | float | f | ) | throws ModelException [inline] |
Sets the latitude of the plot.
| f | Latitude in decimal degrees. |
| ModelException | if latitude is not between -90 and 90. |
| void javawrapper::Plot::SetNumberOfTimesteps | ( | int | i | ) | throws ModelException [inline] |
Sets the number of timesteps for a run.
| i | The number of timesteps. |
| ModelException | when the number of timesteps is less than or equal to zero. |
| void javawrapper::Plot::SetPlotTitle | ( | String | sTitle | ) | [inline] |
Sets the plot title.
| sTitle | Title of the plot. |
| void javawrapper::Plot::SetPlotXLength | ( | float | f | ) | throws ModelException [inline] |
Sets the plot length in the X (East-West) direction.
| f | Length of the plot in the X direction. |
| ModelException | if the passed length is less than or equal to 0. |
| void javawrapper::Plot::SetPlotYLength | ( | float | f | ) | throws ModelException [inline] |
Sets the plot length in the Y (North-South) direction.
| f | Length of the plot in the Y direction. |
| ModelException | if the passed length is less than or equal to 0. |
| void javawrapper::Plot::SetRandomSeed | ( | int | i | ) | [inline] |
Sets the random seed for the run.
A value of 0 means a new random seed each time a parameter file is run.
| i | The random seed value. |
| void javawrapper::Plot::SetYearsPerTimestep | ( | float | fYears | ) | throws ModelException [inline] |
Sets the number of years per timestep.
| fYears | Number of years per timestep. |
| ModelException | if the number of years per timestep is not greater than 0. |
| void javawrapper::Plot::ValidateData | ( | TreePopulation | oPop | ) | throws ModelException [inline, virtual] |
Validates the data prior to running the model.
| ModelException | if any of the following are not greater than zero:
|
| oPop | Not used. |
Implements javawrapper::WorkerBase.
ModelFloat javawrapper::Plot::m_fLatitude [protected] |
Initial value:
new ModelFloat(0, "Plot Latitude, in decimal degrees", "plot_latitude")
Initial value:
new ModelFloat(5, "Number of years per timestep", "yearsPerTimestep")
ModelFloat javawrapper::Plot::m_fPlotLenX [protected] |
Initial value:
new ModelFloat(0, "Plot Length in the X (E-W) Direction, in meters", "plot_lenX")
X is EW.
ModelFloat javawrapper::Plot::m_fPlotLenY [protected] |
Initial value:
new ModelFloat(0, "Plot Length in the Y (N-S) Direction, in meters", "plot_lenY")
Y is NS.
ModelInt javawrapper::Plot::m_iCurrentTimestep [protected] |
Initial value:
new ModelInt(0, "Current Timestep", "rt_timestep")
Not required.
ModelInt javawrapper::Plot::m_iNumTimesteps [protected] |
Initial value:
new ModelInt(0, "Number of Timesteps", "timesteps")
ModelInt javawrapper::Plot::m_iRandomSeed [protected] |
Initial value:
new ModelInt(0, "Random Seed", "randomSeed")
1.4.7