Inheritance diagram for datavisualizer::MerchValueDataRequest:

Public Member Functions | |
| MerchValueDataRequest (String sChartName, DetailedOutputFileManager oManager) throws ModelException | |
| Constructor. | |
| void | AddGridFloatData (String sGridName, int iX, int iY, int iCode, float fVal) |
| This accepts the float data that holds merchantable value. | |
| boolean | WantAnyGridFloats () |
| This wants floats. | |
| void | AddGridFloatDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid float data member code for future reference when passed float data members. | |
Protected Member Functions | |
| void | WriteChartDataToFile (java.io.FileWriter jOut) throws java.io. IOException |
| Writes the table's data to tab-delimited text. | |
Package Functions | |
| JInternalFrame | DrawChart (Legend oLegend, String sChartTitle) throws ModelException |
| Creates a table of the results that have been collected. | |
| void | UpdateChart (Legend oLegend) throws ModelException |
| Redraws the chart using the existing dataset. | |
| void | ClearData () throws ModelException |
| Clears out existing data. | |
Private Member Functions | |
| int | GetSpeciesFromDataMemberLabel (String sLabel) |
| Gets the species from a data member label which ends in "_x", where x is the species number. | |
| JPanel | CreateTable (Legend oLegend) throws ModelException |
| Creates the results table. | |
Private Attributes | |
| float[] | mp_fValue |
| The merchantable timber value for this timestep for each species. | |
| int[] | mp_iValueIndexes |
| Translates a data member code to an index in the value array. | |
| String[] | mp_sColumnNames = {"Species", "Value/ha"} |
| Table column headers. | |
| String[] | mp_sSpeciesNames |
| Array of species names for display. | |
| String | m_sThisGrid |
| Name of the grid from which the data will be collected. | |
| float | m_fPlotAreaInHectares |
| Plot area, in hectares. | |
| int | m_iNumSpecies |
| The number of species. | |
| int | m_iNumCols = 2 |
| Number of columns in the table. | |
This requires the detailed output file to have data saved from the "Merchantable Timber Value" grid.
Copyright: Copyright (c) Charles D. Canham 2006 Company: Institute of Ecosystem Studies
|
||||||||||||
|
Constructor.
Edit history: ------------------ March 21, 2006: Created (LEM) |
|
||||||||||||||||||||||||
|
This accepts the float data that holds merchantable value. The index vector is consulted and the values added to the appropriate array location.
Edit history: ------------------ March 21, 2006: Created (LEM) Reimplemented from datavisualizer::DataRequest. |
|
||||||||||||||||
|
Accepts a grid float data member code for future reference when passed float data members.
Edit history: ------------------ March 21, 2006: Created (LEM) Reimplemented from datavisualizer::DataRequest. |
|
|
Clears out existing data.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implements datavisualizer::DataRequest. |
|
|
Creates the results table.
Edit history: ------------------ March 21, 2006: Created (LEM) |
|
||||||||||||
|
Creates a table of the results that have been collected.
Implements datavisualizer::DataRequest. |
|
|
Gets the species from a data member label which ends in "_x", where x is the species number.
Edit history: ------------------ March 21, 2006: Created (LEM) |
|
|
Redraws the chart using the existing dataset.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implements datavisualizer::DataRequest. |
|
|
This wants floats.
Reimplemented from datavisualizer::DataRequest. |
|
|
Writes the table's data to tab-delimited text.
Implements datavisualizer::DataRequest. |
|
|
Translates a data member code to an index in the value array. The code matches the location in these arrays; that location's value is the index to one of the above arrays. |
|
|
Table column headers. Putting them here makes them consistent in all possible display methods. |
1.4.6-NO