Inheritance diagram for datavisualizer::DataRequest:

Public Member Functions | |
| DataRequest (String sChartName, DetailedOutputFileManager oManager) | |
| Constructor. | |
| void | actionPerformed (java.awt.event.ActionEvent oEvent) |
| If passed the order to write chart data, does it. | |
| void | SaveChartDataToFile (boolean bJustCurrTS) |
| Writes a chart's data to a file. | |
| String | GetChartName () |
| Get the name of the chart. | |
| JInternalFrame | GetChart () |
| Get the chart frame. | |
| boolean | WantAnyTreeFloats () |
| Whether or not this object wants any tree float data members. | |
| boolean | WantAnyTreeInts () |
| Whether or not this object wants any tree int data members. | |
| boolean | WantAnyTreeChars () |
| Whether or not this object wants any tree char data members. | |
| boolean | WantAnyTreeBools () |
| Whether or not this object wants any tree bool data members. | |
| boolean | WantAnyGridFloats () |
| Whether or not this object wants any grid float data members. | |
| boolean | WantAnyGridInts () |
| Whether or not this object wants any grid int data members. | |
| boolean | WantAnyGridChars () |
| Whether or not this object wants any grid char data members. | |
| boolean | WantAnyGridBools () |
| Whether or not this object wants any grid bool data members. | |
| boolean | WantAnyGridPackageFloats () |
| Whether or not this object wants any grid package float data members. | |
| boolean | WantAnyGridPackageInts () |
| Whether or not this object wants any grid package int data members. | |
| boolean | WantAnyGridPackageChars () |
| Whether or not this object wants any grid package char data members. | |
| boolean | WantAnyGridPackageBools () |
| Whether or not this object wants any grid package bool data members. | |
| void | AddTreeFloatData (int iSpecies, int iType, int iCode, float fVal) |
| Accepts a piece of tree float data from the parser. | |
| void | AddTreeIntData (int iSpecies, int iType, int iCode, int iVal) |
| Accepts a piece of tree int data from the parser. | |
| void | AddTreeCharData (int iSpecies, int iType, int iCode, String sVal) |
| Accepts a piece of tree char data from the parser. | |
| void | AddTreeBoolData (int iSpecies, int iType, int iCode, boolean bVal) |
| Accepts a piece of tree bool data from the parser. | |
| void | AddGridFloatData (String sGridName, int iX, int iY, int iCode, float fVal) |
| Accepts a piece of grid float data from the parser. | |
| void | AddGridIntData (String sGridName, int iX, int iY, int iCode, int iVal) |
| Accepts a piece of grid int data from the parser. | |
| void | AddGridCharData (String sGridName, int iX, int iY, int iCode, String sVal) |
| Accepts a piece of grid char data from the parser. | |
| void | AddGridBoolData (String sGridName, int iX, int iY, int iCode, boolean bVal) |
| Accepts a piece of grid bool data from the parser. | |
| void | AddGridPackageFloatData (String sGridName, int iX, int iY, int iCode, float fVal) |
| Accepts a piece of grid package float data from the parser. | |
| void | AddGridPackageIntData (String sGridName, int iX, int iY, int iCode, int iVal) |
| Accepts a piece of grid package int data from the parser. | |
| void | AddGridPackageCharData (String sGridName, int iX, int iY, int iCode, String sVal) |
| Accepts a piece of grid package char data from the parser. | |
| void | AddGridPackageBoolData (String sGridName, int iX, int iY, int iCode, boolean bVal) |
| Accepts a piece of grid package bool data from the parser. | |
| void | EndPackage () |
| Announces a package has ended. | |
| void | AddTreeFloatDataMemberCode (int iSpecies, int iType, String sLabel, int iCode) |
| Accepts a tree float data member code for future reference when passed float data members. | |
| void | AddTreeIntDataMemberCode (int iSpecies, int iType, String sLabel, int iCode) |
| Accepts a tree int data member code for future reference when passed int data members. | |
| void | AddTreeCharDataMemberCode (int iSpecies, int iType, String sLabel, int iCode) |
| Accepts a tree char data member code for future reference when passed char data members. | |
| void | AddTreeBoolDataMemberCode (int iSpecies, int iType, String sLabel, int iCode) |
| Accepts a tree bool data member code for future reference when passed bool data members. | |
| void | AddGridFloatDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid float data member code for future reference when passed float data members. | |
| void | AddGridIntDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid int data member code for future reference when passed int data members. | |
| void | AddGridCharDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid char data member code for future reference when passed char data members. | |
| void | AddGridBoolDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid bool data member code for future reference when passed bool data members. | |
| 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 | AddGridPackageIntDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid package int data member code for future reference when passed int data members. | |
| void | AddGridPackageCharDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid package char data member code for future reference when passed char data members. | |
| void | AddGridPackageBoolDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid package bool data member code for future reference when passed bool data members. | |
Protected Member Functions | |
| abstract void | WriteChartDataToFile (java.io.FileWriter jOut) throws java.io.IOException, javawrapper.ModelException |
| Child classes override this to write the data behind their chart to tab-delimited text. | |
Protected Attributes | |
| boolean | m_bShowOneTimestep = true |
| Whether this chart shows one timestep at a time (true) or all timesteps (false). | |
| JInternalFrame | m_oChartFrame |
| Chart for this request. | |
| String | m_sChartName |
| Name string of chart. | |
Package Functions | |
| abstract void | ClearData () throws ModelException |
| Clears out data for garbage collection in preparation for new data being read in. | |
| abstract JInternalFrame | DrawChart (Legend oLegend, String sChartTitle) throws ModelException |
| Draws the chart for this data request according to its individual settings and data. | |
| abstract void | UpdateChart (Legend oLegend) throws ModelException |
| Redraws the chart using the existing dataset. | |
Package Attributes | |
| DetailedOutputFileManager | m_oManager |
| Managing object. | |
Each DataRequest object represents the data needed to make one chart. This base class rejects all data in its non-abstract data members. Override the ones necessary to get and process required information.
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
|
||||||||||||
|
Constructor.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
If passed the order to write chart data, does it.
Reimplemented in datavisualizer::StandTableDataRequest, datavisualizer::StockTableDataRequest, and datavisualizer::TreeMapDataRequest. |
|
||||||||||||||||||||||||
|
Accepts a piece of grid bool data from the parser. If this particular piece is not wanted, do nothing.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::GridDataRequest. |
|
||||||||||||||||
|
Accepts a grid bool data member code for future reference when passed bool data members.
Reimplemented in datavisualizer::GridDataRequest. |
|
||||||||||||||||||||||||
|
Accepts a piece of grid char data from the parser. If this particular piece is not wanted, do nothing.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||
|
Accepts a grid char data member code for future reference when passed char data members.
|
|
||||||||||||||||||||||||
|
Accepts a piece of grid float data from the parser. If this particular piece is not wanted, do nothing.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::CarbonValueDataRequest, datavisualizer::GridDataRequest, datavisualizer::GridHistogramDataRequest, datavisualizer::HarvestDataRequest, and datavisualizer::MerchValueDataRequest. |
|
||||||||||||||||
|
Accepts a grid float data member code for future reference when passed float data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::CarbonValueDataRequest, datavisualizer::GridDataRequest, datavisualizer::GridHistogramDataRequest, datavisualizer::HarvestDataRequest, and datavisualizer::MerchValueDataRequest. |
|
||||||||||||||||||||||||
|
Accepts a piece of grid int data from the parser. If this particular piece is not wanted, do nothing.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::GridDataRequest, datavisualizer::GridHistogramDataRequest, and datavisualizer::HarvestDataRequest. |
|
||||||||||||||||
|
Accepts a grid int data member code for future reference when passed int data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::GridDataRequest, datavisualizer::GridHistogramDataRequest, and datavisualizer::HarvestDataRequest. |
|
||||||||||||||||||||||||
|
Accepts a piece of grid package bool data from the parser. If this particular piece is not wanted, do nothing.
Edit history: ------------------ March 20, 2006: Created (LEM) |
|
||||||||||||||||
|
Accepts a grid package bool data member code for future reference when passed bool data members.
|
|
||||||||||||||||||||||||
|
Accepts a piece of grid package char data from the parser. If this particular piece is not wanted, do nothing.
Edit history: ------------------ March 20, 2006: Created (LEM) |
|
||||||||||||||||
|
Accepts a grid package char data member code for future reference when passed char data members.
|
|
||||||||||||||||||||||||
|
Accepts a piece of grid package float data from the parser. If this particular piece is not wanted, do nothing.
Edit history: ------------------ March 20, 2006: Created (LEM) Reimplemented in datavisualizer::WindstormDataRequest. |
|
||||||||||||||||
|
Accepts a grid package float data member code for future reference when passed float data members.
Reimplemented in datavisualizer::WindstormDataRequest. |
|
||||||||||||||||||||||||
|
Accepts a piece of grid package int data from the parser. If this particular piece is not wanted, do nothing.
Edit history: ------------------ March 20, 2006: Created (LEM) |
|
||||||||||||||||
|
Accepts a grid package int data member code for future reference when passed int data members.
|
|
||||||||||||||||||||
|
Accepts a piece of tree bool data from the parser. If this particular piece is not wanted, do nothing.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||||||
|
Accepts a tree bool data member code for future reference when passed bool data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||||||
|
Accepts a piece of tree char data from the parser. If this particular piece is not wanted, do nothing.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||||||
|
Accepts a tree char data member code for future reference when passed char data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||||||
|
Accepts a piece of tree float data from the parser. If this particular piece is not wanted, do nothing.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::HistogramDataRequest, datavisualizer::LineGraphDataRequest, datavisualizer::OverviewTableDataRequest, datavisualizer::StandTableDataRequest, datavisualizer::StockTableDataRequest, and datavisualizer::TreeMapDataRequest. |
|
||||||||||||||||||||
|
Accepts a tree float data member code for future reference when passed float data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::HistogramDataRequest, datavisualizer::LineGraphDataRequest, datavisualizer::OverviewTableDataRequest, datavisualizer::StandTableDataRequest, datavisualizer::StockTableDataRequest, and datavisualizer::TreeMapDataRequest. |
|
||||||||||||||||||||
|
Accepts a piece of tree int data from the parser. If this particular piece is not wanted, do nothing.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::HistogramDataRequest. |
|
||||||||||||||||||||
|
Accepts a tree int data member code for future reference when passed int data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::HistogramDataRequest. |
|
|
Clears out data for garbage collection in preparation for new data being read in.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implemented in datavisualizer::CarbonValueDataRequest, datavisualizer::GridDataRequest, datavisualizer::GridHistogramDataRequest, datavisualizer::HarvestDataRequest, datavisualizer::HistogramDataRequest, datavisualizer::LineGraphDataRequest, datavisualizer::MerchValueDataRequest, datavisualizer::OverviewTableDataRequest, datavisualizer::StandTableDataRequest, datavisualizer::StockTableDataRequest, datavisualizer::TreeMapDataRequest, and datavisualizer::WindstormDataRequest. |
|
||||||||||||
|
Draws the chart for this data request according to its individual settings and data.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implemented in datavisualizer::CarbonValueDataRequest, datavisualizer::GridDataRequest, datavisualizer::GridHistogramDataRequest, datavisualizer::HarvestDataRequest, datavisualizer::HistogramDataRequest, datavisualizer::LineGraphDataRequest, datavisualizer::MerchValueDataRequest, datavisualizer::OverviewTableDataRequest, datavisualizer::StandTableDataRequest, datavisualizer::StockTableDataRequest, datavisualizer::TreeMapDataRequest, and datavisualizer::WindstormDataRequest. |
|
|
Announces a package has ended. Data requests can do whatever they want with this information, including nothing. Reimplemented in datavisualizer::WindstormDataRequest. |
|
|
Get the chart frame.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Get the name of the chart.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Writes a chart's data to a file. This can write data for only the current timestep or the whole run.
|
|
|
Redraws the chart using the existing dataset.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implemented in datavisualizer::CarbonValueDataRequest, datavisualizer::GridDataRequest, datavisualizer::GridHistogramDataRequest, datavisualizer::HarvestDataRequest, datavisualizer::HistogramDataRequest, datavisualizer::LineGraphDataRequest, datavisualizer::MerchValueDataRequest, datavisualizer::OverviewTableDataRequest, datavisualizer::StandTableDataRequest, datavisualizer::StockTableDataRequest, datavisualizer::TreeMapDataRequest, and datavisualizer::WindstormDataRequest. |
|
|
Whether or not this object wants any grid bool data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::GridDataRequest. |
|
|
Whether or not this object wants any grid char data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Whether or not this object wants any grid float data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::CarbonValueDataRequest, datavisualizer::GridDataRequest, datavisualizer::GridHistogramDataRequest, datavisualizer::HarvestDataRequest, and datavisualizer::MerchValueDataRequest. |
|
|
Whether or not this object wants any grid int data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::GridDataRequest, datavisualizer::GridHistogramDataRequest, and datavisualizer::HarvestDataRequest. |
|
|
Whether or not this object wants any grid package bool data members.
Edit history: ------------------ March 20, 2006: Created (LEM) |
|
|
Whether or not this object wants any grid package char data members.
Edit history: ------------------ March 20, 2006: Created (LEM) |
|
|
Whether or not this object wants any grid package float data members.
Edit history: ------------------ March 20, 2006: Created (LEM) Reimplemented in datavisualizer::WindstormDataRequest. |
|
|
Whether or not this object wants any grid package int data members.
Edit history: ------------------ March 20, 2006: Created (LEM) |
|
|
Whether or not this object wants any tree bool data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Whether or not this object wants any tree char data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Whether or not this object wants any tree float data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::HistogramDataRequest, datavisualizer::LineGraphDataRequest, datavisualizer::OverviewTableDataRequest, datavisualizer::StandTableDataRequest, datavisualizer::StockTableDataRequest, and datavisualizer::TreeMapDataRequest. |
|
|
Whether or not this object wants any tree int data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented in datavisualizer::HistogramDataRequest. |
|
|
Child classes override this to write the data behind their chart to tab-delimited text. They can assume that the chart's header has already been written as a file title at the top, and that a line for the current timestep has been written as well.
Implemented in datavisualizer::CarbonValueDataRequest, datavisualizer::GridDataRequest, datavisualizer::GridHistogramDataRequest, datavisualizer::HarvestDataRequest, datavisualizer::HistogramDataRequest, datavisualizer::LineGraphDataRequest, datavisualizer::MerchValueDataRequest, datavisualizer::OverviewTableDataRequest, datavisualizer::StandTableDataRequest, datavisualizer::StockTableDataRequest, datavisualizer::TreeMapDataRequest, and datavisualizer::WindstormDataRequest. |
|
|
Whether this chart shows one timestep at a time (true) or all timesteps (false). Defaults to true. |
|
|
Chart for this request. This is not automatically set. |
1.4.6-NO