Inheritance diagram for datavisualizer::WindstormDataRequest:

Public Member Functions | |
| WindstormDataRequest (String sChartName, DetailedOutputFileManager oManager) throws ModelException | |
| Constructor. | |
| void | AddGridPackageFloatData (String sGridName, int iX, int iY, int iCode, float fVal) |
| This accepts a package float value. | |
| boolean | WantAnyGridPackageFloats () |
| This wants package floats. | |
| void | AddGridPackageFloatDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid package float data member code for future reference when passed float data members. | |
| void | EndPackage () |
| Processing to occur after we've received a package. | |
Protected Member Functions | |
| void | WriteChartDataToFile (java.io.FileWriter jOut) throws java.io. IOException |
| Writes the table's data to tab-delimited text. | |
| JPanel | CreateTable () |
| Turns the accumulated data into a table for viewing. | |
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. | |
Private Attributes | |
| Vector | m_oTableData = new Vector(0) |
| Holds data until it's ready to be displayed. | |
| float[] | mp_fDensity |
| The density and basal area killed for this storm for each species. | |
| float[] | mp_fBasalArea |
| int[] | mp_iDensityIndexes |
| Translates a data member code to an index in either the density or basal area arrays. | |
| int[] | mp_iBasalAreaIndexes |
| String | m_sThisGrid |
| Name of the grid from which the data will be collected. | |
| float | m_fStormSeverity |
| Severity of the current storm. | |
| int | m_iNumSpecies |
| The number of species. | |
| int | m_iSeverityCode |
| Index code for storm severity. | |
| int | m_iNumCols = 3 |
| Number of columns in the table. | |
A windstorm table requires the detailed output file to have data saved from the "Windstorm Results" grid.
Copyright: Copyright (c) Charles D. Canham 2006 Company: Institute of Ecosystem Studies
|
||||||||||||
|
Constructor.
Edit history: ------------------ March 20, 2006: Created (LEM) |
|
||||||||||||||||||||||||
|
This accepts a package float value. It figures out what it is, then adds it to the appropriate location.
Reimplemented from datavisualizer::DataRequest. |
|
||||||||||||||||
|
Accepts a grid package float data member code for future reference when passed float data members.
Reimplemented from datavisualizer::DataRequest. |
|
|
Clears out existing data.
Edit history: ------------------ March 20, 2006: Created (LEM) Implements datavisualizer::DataRequest. |
|
|
Turns the accumulated data into a table for viewing.
|
|
||||||||||||
|
Creates a table of the results that have been collected.
Implements datavisualizer::DataRequest. |
|
|
Processing to occur after we've received a package. This takes the data and formats it into text strings, which it arranges into m_oTableData, ready to display in a table. Reimplemented from datavisualizer::DataRequest. |
|
|
Gets the species from a data member label which ends in "_x", where x is the species number.
|
|
|
Redraws the chart using the existing dataset.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implements datavisualizer::DataRequest. |
|
|
This wants package floats.
Reimplemented from datavisualizer::DataRequest. |
|
|
Writes the table's data to tab-delimited text.
Implements datavisualizer::DataRequest. |
|
|
Holds data until it's ready to be displayed. Since we don't know how many storms we'll have each timestep, this is a vector. Every time we get to the end of a package, the results of that package will be written here. Each vector element is an array of strings with three elements, for the three columns. They may be empty. |
|
|
Translates a data member code to an index in either the density or basal area arrays. The array index is the species number; the value in the array is the code. |
1.4.6-NO