
Public Member Functions | |
| DataRequest (String sChartName, DetailedOutputFileManager oManager) | |
| Constructor. | |
| void | SetCurrentTimestep (int iTimestep) |
| 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 | WantAnyDeadTreeFloats () |
| Whether or not this object wants any dead tree float data members. | |
| boolean | WantAnyDeadTreeInts () |
| Whether or not this object wants any dead tree int data members. | |
| boolean | WantAnyDeadTreeChars () |
| Whether or not this object wants any dead tree char data members. | |
| boolean | WantAnyDeadTreeBools () |
| Whether or not this object wants any dead 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) throws SAXException |
| Accepts a piece of tree float data from the parser. | |
| void | AddTreeIntData (int iSpecies, int iType, int iCode, int iVal) throws SAXException |
| Accepts a piece of tree int data from the parser. | |
| void | AddTreeCharData (int iSpecies, int iType, int iCode, String sVal) throws SAXException |
| Accepts a piece of tree char data from the parser. | |
| void | AddTreeBoolData (int iSpecies, int iType, int iCode, boolean bVal) throws SAXException |
| Accepts a piece of tree bool data from the parser. | |
| void | AddDeadTreeFloatData (int iSpecies, int iType, int iCode, int iDeadCode, float fVal) throws SAXException |
| Accepts a piece of dead tree float data from the parser. | |
| void | AddDeadTreeIntData (int iSpecies, int iType, int iCode, int iDeadCode, int iVal) throws SAXException |
| Accepts a piece of dead tree int data from the parser. | |
| void | AddDeadTreeCharData (int iSpecies, int iType, int iCode, int iDeadCode, String sVal) throws SAXException |
| Accepts a piece of dead tree char data from the parser. | |
| void | AddDeadTreeBoolData (int iSpecies, int iType, int iCode, int iDeadCode, boolean bVal) throws SAXException |
| Accepts a piece of dead tree bool data from the parser. | |
| void | AddGridFloatData (String sGridName, int iX, int iY, int iCode, float fVal) throws SAXException |
| Accepts a piece of grid float data from the parser. | |
| void | AddGridIntData (String sGridName, int iX, int iY, int iCode, int iVal) throws SAXException |
| Accepts a piece of grid int data from the parser. | |
| void | AddGridCharData (String sGridName, int iX, int iY, int iCode, String sVal) throws SAXException |
| Accepts a piece of grid char data from the parser. | |
| void | AddGridBoolData (String sGridName, int iX, int iY, int iCode, boolean bVal) throws SAXException |
| Accepts a piece of grid bool data from the parser. | |
| void | AddGridPackageFloatData (String sGridName, int iX, int iY, int iCode, float fVal) throws SAXException |
| Accepts a piece of grid package float data from the parser. | |
| void | AddGridPackageIntData (String sGridName, int iX, int iY, int iCode, int iVal) throws SAXException |
| Accepts a piece of grid package int data from the parser. | |
| void | AddGridPackageCharData (String sGridName, int iX, int iY, int iCode, String sVal) throws SAXException |
| Accepts a piece of grid package char data from the parser. | |
| void | AddGridPackageBoolData (String sGridName, int iX, int iY, int iCode, boolean bVal) throws SAXException |
| Accepts a piece of grid package bool data from the parser. | |
| void | EndPackage () throws SAXException |
| Announces a package has ended. | |
| void | EndTree () throws SAXException |
| Announces a tree record has ended. | |
| void | AddTreeFloatDataMemberCode (int iSpecies, int iType, String sLabel, int iCode) throws SAXException |
| 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) throws SAXException |
| 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) throws SAXException |
| 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) throws SAXException |
| Accepts a tree bool data member code for future reference when passed bool data members. | |
| void | AddGridFloatDataMemberCode (String sGridName, String sLabel, int iCode) throws SAXException |
| Accepts a grid float data member code for future reference when passed float data members. | |
| void | AddGridIntDataMemberCode (String sGridName, String sLabel, int iCode) throws SAXException |
| Accepts a grid int data member code for future reference when passed int data members. | |
| void | AddGridCharDataMemberCode (String sGridName, String sLabel, int iCode) throws SAXException |
| Accepts a grid char data member code for future reference when passed char data members. | |
| void | AddGridBoolDataMemberCode (String sGridName, String sLabel, int iCode) throws SAXException |
| Accepts a grid bool data member code for future reference when passed bool data members. | |
| void | AddGridPackageFloatDataMemberCode (String sGridName, String sLabel, int iCode) throws SAXException |
| Accepts a grid package float data member code for future reference when passed float data members. | |
| void | AddGridPackageIntDataMemberCode (String sGridName, String sLabel, int iCode) throws SAXException |
| Accepts a grid package int data member code for future reference when passed int data members. | |
| void | AddGridPackageCharDataMemberCode (String sGridName, String sLabel, int iCode) throws SAXException |
| Accepts a grid package char data member code for future reference when passed char data members. | |
| void | AddGridPackageBoolDataMemberCode (String sGridName, String sLabel, int iCode) throws SAXException |
| 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 | |
| int | m_iCurrentTimestep |
| Current time step being parsed. | |
| boolean | m_bShowOneTimestep = true |
| Whether this chart shows one timestep at a time (true) or all timesteps (false). | |
| ModelInternalFrame | m_oChartFrame |
| String | m_sChartName |
| <Chart for this request. | |
Package Functions | |
| abstract void | ClearData () throws ModelException |
| Clears out data for garbage collection in preparation for new data being read in. | |
| abstract ModelInternalFrame | 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
| datavisualizer.DataRequest.DataRequest | ( | String | sChartName, | |
| DetailedOutputFileManager | oManager | |||
| ) |
Constructor.
| sChartName | Name of chart to display. | |
| oManager | Managing file manager. |
| void datavisualizer.DataRequest.SetCurrentTimestep | ( | int | iTimestep | ) |
| void datavisualizer.DataRequest.actionPerformed | ( | java.awt.event.ActionEvent | oEvent | ) |
If passed the order to write chart data, does it.
| oEvent | ActionEvent Event to process. |
Reimplemented in datavisualizer.FoliarChemistryLineGraphDataRequest, datavisualizer.LineGraphDataRequest, datavisualizer.PartitionedBiomassLineGraphDataRequest, datavisualizer.StandTableDataRequest, datavisualizer.StockTableDataRequest, datavisualizer.TreeListWriter, datavisualizer.TreeMapCrownRadDataRequest, and datavisualizer.TreeMapDataRequest.
| void datavisualizer.DataRequest.SaveChartDataToFile | ( | boolean | bJustCurrTS | ) |
Writes a chart's data to a file.
This can write data for only the current timestep or the whole run.
| bJustCurrTS | If true, writes for only the current timestep. If false, writes for the whole run. |
Reimplemented in datavisualizer.GridHistogramDataRequest, datavisualizer.TreeMapCrownRadDataRequest, and datavisualizer.TreeMapDataRequest.
| abstract void datavisualizer.DataRequest.WriteChartDataToFile | ( | java.io.FileWriter | jOut | ) | throws java.io.IOException, javawrapper.ModelException [protected, pure virtual] |
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.
| jOut | java.io.FileWriter The file to write to. Doesn't need to be opened or closed. |
| java.io.IOException | if there is a problem writing the file. | |
| ModelException | if there is a problem assembling the chart data. |
Implemented in datavisualizer.CarbonValueDataRequest, datavisualizer.FoliarChemistryTableDataRequest, datavisualizer.GridAllSpeciesHistogramDataRequest, datavisualizer.GridDataRequest, datavisualizer.GridHistogramDataRequest, datavisualizer.HarvestDataRequest, datavisualizer.HistogramDataRequest, datavisualizer.LineGraphDataRequest, datavisualizer.MerchValueDataRequest, datavisualizer.OverviewTableDataRequest, datavisualizer.PartitionedBiomassTableDataRequest, datavisualizer.RelativeNeighborhoodDensityDataRequest, datavisualizer.RipleysKDataRequest, datavisualizer.SeedTableDataRequest, datavisualizer.StandTableDataRequest, datavisualizer.StateVariableTableDataRequest, datavisualizer.StockTableDataRequest, datavisualizer.StormDataRequest, datavisualizer.StormKilledPartitionedBiomassDataRequest, datavisualizer.TreeMapCrownRadDataRequest, datavisualizer.TreeMapDataRequest, and datavisualizer.WindstormDataRequest.
| String datavisualizer.DataRequest.GetChartName | ( | ) |
Get the name of the chart.
| JInternalFrame datavisualizer.DataRequest.GetChart | ( | ) |
Get the chart frame.
| boolean datavisualizer.DataRequest.WantAnyTreeFloats | ( | ) |
Whether or not this object wants any tree float data members.
Reimplemented in datavisualizer.HistogramDataRequest, datavisualizer.LineGraphDataRequest, datavisualizer.OverviewTableDataRequest, datavisualizer.StandTableDataRequest, datavisualizer.StockTableDataRequest, datavisualizer.TreeListWriter, datavisualizer.TreeMapCrownRadDataRequest, and datavisualizer.TreeMapDataRequest.
| boolean datavisualizer.DataRequest.WantAnyTreeInts | ( | ) |
Whether or not this object wants any tree int data members.
Reimplemented in datavisualizer.HistogramDataRequest, and datavisualizer.TreeListWriter.
| boolean datavisualizer.DataRequest.WantAnyTreeChars | ( | ) |
Whether or not this object wants any tree char data members.
Reimplemented in datavisualizer.TreeListWriter.
| boolean datavisualizer.DataRequest.WantAnyTreeBools | ( | ) |
Whether or not this object wants any tree bool data members.
Reimplemented in datavisualizer.TreeListWriter.
| boolean datavisualizer.DataRequest.WantAnyDeadTreeFloats | ( | ) |
Whether or not this object wants any dead tree float data members.
Reimplemented in datavisualizer.HistogramDataRequest, datavisualizer.LineGraphDataRequest, and datavisualizer.TreeListWriter.
| boolean datavisualizer.DataRequest.WantAnyDeadTreeInts | ( | ) |
Whether or not this object wants any dead tree int data members.
Reimplemented in datavisualizer.HistogramDataRequest, and datavisualizer.TreeListWriter.
| boolean datavisualizer.DataRequest.WantAnyDeadTreeChars | ( | ) |
Whether or not this object wants any dead tree char data members.
Reimplemented in datavisualizer.TreeListWriter.
| boolean datavisualizer.DataRequest.WantAnyDeadTreeBools | ( | ) |
Whether or not this object wants any dead tree bool data members.
Reimplemented in datavisualizer.TreeListWriter.
| boolean datavisualizer.DataRequest.WantAnyGridFloats | ( | ) |
Whether or not this object wants any grid float data members.
Reimplemented in datavisualizer.CarbonValueDataRequest, datavisualizer.FoliarChemistryLineGraphDataRequest, datavisualizer.FoliarChemistryTableDataRequest, datavisualizer.GridAllSpeciesHistogramDataRequest, datavisualizer.GridDataRequest, datavisualizer.GridHistogramDataRequest, datavisualizer.HarvestDataRequest, datavisualizer.MerchValueDataRequest, datavisualizer.PartitionedBiomassLineGraphDataRequest, datavisualizer.PartitionedBiomassTableDataRequest, datavisualizer.RelativeNeighborhoodDensityDataRequest, datavisualizer.RipleysKDataRequest, datavisualizer.SeedTableDataRequest, datavisualizer.StateVariableTableDataRequest, and datavisualizer.StormKilledPartitionedBiomassDataRequest.
| boolean datavisualizer.DataRequest.WantAnyGridInts | ( | ) |
Whether or not this object wants any grid int data members.
Reimplemented in datavisualizer.GridAllSpeciesHistogramDataRequest, datavisualizer.GridDataRequest, datavisualizer.GridHistogramDataRequest, and datavisualizer.HarvestDataRequest.
| boolean datavisualizer.DataRequest.WantAnyGridChars | ( | ) |
Whether or not this object wants any grid char data members.
| boolean datavisualizer.DataRequest.WantAnyGridBools | ( | ) |
Whether or not this object wants any grid bool data members.
Reimplemented in datavisualizer.GridDataRequest.
| boolean datavisualizer.DataRequest.WantAnyGridPackageFloats | ( | ) |
Whether or not this object wants any grid package float data members.
Reimplemented in datavisualizer.StormDataRequest, and datavisualizer.WindstormDataRequest.
| boolean datavisualizer.DataRequest.WantAnyGridPackageInts | ( | ) |
Whether or not this object wants any grid package int data members.
| boolean datavisualizer.DataRequest.WantAnyGridPackageChars | ( | ) |
Whether or not this object wants any grid package char data members.
| boolean datavisualizer.DataRequest.WantAnyGridPackageBools | ( | ) |
Whether or not this object wants any grid package bool data members.
| void datavisualizer.DataRequest.AddTreeFloatData | ( | int | iSpecies, | |
| int | iType, | |||
| int | iCode, | |||
| float | fVal | |||
| ) | throws SAXException |
Accepts a piece of tree float data from the parser.
If this particular piece is not wanted, do nothing.
| iSpecies | Species of the tree from which this value came. | |
| iType | Type of the tree from which this value came. | |
| iCode | Data member code of this value. | |
| fVal | Value. |
Reimplemented in datavisualizer.HistogramDataRequest, datavisualizer.LineGraphDataRequest, datavisualizer.OverviewTableDataRequest, datavisualizer.StandTableDataRequest, datavisualizer.StockTableDataRequest, datavisualizer.TreeListWriter, datavisualizer.TreeMapCrownRadDataRequest, and datavisualizer.TreeMapDataRequest.
| void datavisualizer.DataRequest.AddTreeIntData | ( | int | iSpecies, | |
| int | iType, | |||
| int | iCode, | |||
| int | iVal | |||
| ) | throws SAXException |
Accepts a piece of tree int data from the parser.
If this particular piece is not wanted, do nothing.
| iSpecies | Species of the tree from which this value came. | |
| iType | Type of the tree from which this value came. | |
| iCode | Data member code of this value. | |
| iVal | Value. |
Reimplemented in datavisualizer.HistogramDataRequest, and datavisualizer.TreeListWriter.
| void datavisualizer.DataRequest.AddTreeCharData | ( | int | iSpecies, | |
| int | iType, | |||
| int | iCode, | |||
| String | sVal | |||
| ) | throws SAXException |
Accepts a piece of tree char data from the parser.
If this particular piece is not wanted, do nothing.
| iSpecies | Species of the tree from which this value came. | |
| iType | Type of the tree from which this value came. | |
| iCode | Data member code of this value. | |
| sVal | Value. |
Reimplemented in datavisualizer.TreeListWriter.
| void datavisualizer.DataRequest.AddTreeBoolData | ( | int | iSpecies, | |
| int | iType, | |||
| int | iCode, | |||
| boolean | bVal | |||
| ) | throws SAXException |
Accepts a piece of tree bool data from the parser.
If this particular piece is not wanted, do nothing.
| iSpecies | Species of the tree from which this value came. | |
| iType | Type of the tree from which this value came. | |
| iCode | Data member code of this value. | |
| bVal | Value. |
Reimplemented in datavisualizer.TreeListWriter.
| void datavisualizer.DataRequest.AddDeadTreeFloatData | ( | int | iSpecies, | |
| int | iType, | |||
| int | iCode, | |||
| int | iDeadCode, | |||
| float | fVal | |||
| ) | throws SAXException |
Accepts a piece of dead tree float data from the parser.
If this particular piece is not wanted, do nothing.
| iSpecies | Species of the tree from which this value came. | |
| iType | Type of the tree from which this value came. | |
| iCode | Data member code of this value. | |
| iDeadCode | Dead code for this tree. | |
| fVal | Value. |
Reimplemented in datavisualizer.HistogramDataRequest, datavisualizer.LineGraphDataRequest, and datavisualizer.TreeListWriter.
| void datavisualizer.DataRequest.AddDeadTreeIntData | ( | int | iSpecies, | |
| int | iType, | |||
| int | iCode, | |||
| int | iDeadCode, | |||
| int | iVal | |||
| ) | throws SAXException |
Accepts a piece of dead tree int data from the parser.
If this particular piece is not wanted, do nothing.
| iSpecies | Species of the tree from which this value came. | |
| iType | Type of the tree from which this value came. | |
| iCode | Data member code of this value. | |
| iDeadCode | Dead code for this tree. | |
| iVal | Value. |
Reimplemented in datavisualizer.HistogramDataRequest, and datavisualizer.TreeListWriter.
| void datavisualizer.DataRequest.AddDeadTreeCharData | ( | int | iSpecies, | |
| int | iType, | |||
| int | iCode, | |||
| int | iDeadCode, | |||
| String | sVal | |||
| ) | throws SAXException |
Accepts a piece of dead tree char data from the parser.
If this particular piece is not wanted, do nothing.
| iSpecies | Species of the tree from which this value came. | |
| iType | Type of the tree from which this value came. | |
| iCode | Data member code of this value. | |
| iDeadCode | Dead code for this tree. | |
| sVal | Value. |
Reimplemented in datavisualizer.TreeListWriter.
| void datavisualizer.DataRequest.AddDeadTreeBoolData | ( | int | iSpecies, | |
| int | iType, | |||
| int | iCode, | |||
| int | iDeadCode, | |||
| boolean | bVal | |||
| ) | throws SAXException |
Accepts a piece of dead tree bool data from the parser.
If this particular piece is not wanted, do nothing.
| iSpecies | Species of the tree from which this value came. | |
| iType | Type of the tree from which this value came. | |
| iCode | Data member code of this value. | |
| iDeadCode | Dead code for this tree. | |
| bVal | Value. |
Reimplemented in datavisualizer.TreeListWriter.
| void datavisualizer.DataRequest.AddGridFloatData | ( | String | sGridName, | |
| int | iX, | |||
| int | iY, | |||
| int | iCode, | |||
| float | fVal | |||
| ) | throws SAXException |
Accepts a piece of grid float data from the parser.
If this particular piece is not wanted, do nothing.
| sGridName | Name of the grid for this data | |
| iX | X number of the cell from which this value came | |
| iY | Y number of the cell from which this value came | |
| iCode | Data member code of this value. | |
| fVal | Value. |
Reimplemented in datavisualizer.CarbonValueDataRequest, datavisualizer.FoliarChemistryLineGraphDataRequest, datavisualizer.FoliarChemistryTableDataRequest, datavisualizer.GridAllSpeciesHistogramDataRequest, datavisualizer.GridDataRequest, datavisualizer.GridHistogramDataRequest, datavisualizer.HarvestDataRequest, datavisualizer.MerchValueDataRequest, datavisualizer.PartitionedBiomassLineGraphDataRequest, datavisualizer.PartitionedBiomassTableDataRequest, datavisualizer.RelativeNeighborhoodDensityDataRequest, datavisualizer.RipleysKDataRequest, datavisualizer.SeedTableDataRequest, datavisualizer.StateVariableTableDataRequest, and datavisualizer.StormKilledPartitionedBiomassDataRequest.
| void datavisualizer.DataRequest.AddGridIntData | ( | String | sGridName, | |
| int | iX, | |||
| int | iY, | |||
| int | iCode, | |||
| int | iVal | |||
| ) | throws SAXException |
Accepts a piece of grid int data from the parser.
If this particular piece is not wanted, do nothing.
| sGridName | Name of the grid for this data | |
| iX | X number of the cell from which this value came | |
| iY | Y number of the cell from which this value came | |
| iCode | Data member code of this value. | |
| iVal | Value. |
Reimplemented in datavisualizer.GridAllSpeciesHistogramDataRequest, datavisualizer.GridDataRequest, datavisualizer.GridHistogramDataRequest, and datavisualizer.HarvestDataRequest.
| void datavisualizer.DataRequest.AddGridCharData | ( | String | sGridName, | |
| int | iX, | |||
| int | iY, | |||
| int | iCode, | |||
| String | sVal | |||
| ) | throws SAXException |
Accepts a piece of grid char data from the parser.
If this particular piece is not wanted, do nothing.
| sGridName | Name of the grid for this data | |
| iX | X number of the cell from which this value came | |
| iY | Y number of the cell from which this value came | |
| iCode | Data member code of this value. | |
| sVal | Value. |
| void datavisualizer.DataRequest.AddGridBoolData | ( | String | sGridName, | |
| int | iX, | |||
| int | iY, | |||
| int | iCode, | |||
| boolean | bVal | |||
| ) | throws SAXException |
Accepts a piece of grid bool data from the parser.
If this particular piece is not wanted, do nothing.
| sGridName | Name of the grid for this data | |
| iX | X number of the cell from which this value came | |
| iY | Y number of the cell from which this value came | |
| iCode | Data member code of this value. | |
| bVal | Value. |
Reimplemented in datavisualizer.GridDataRequest.
| void datavisualizer.DataRequest.AddGridPackageFloatData | ( | String | sGridName, | |
| int | iX, | |||
| int | iY, | |||
| int | iCode, | |||
| float | fVal | |||
| ) | throws SAXException |
Accepts a piece of grid package float data from the parser.
If this particular piece is not wanted, do nothing.
| sGridName | Name of the grid for this data | |
| iX | X number of the cell from which this value came | |
| iY | Y number of the cell from which this value came | |
| iCode | Data member code of this value. | |
| fVal | Value. |
Reimplemented in datavisualizer.StormDataRequest, and datavisualizer.WindstormDataRequest.
| void datavisualizer.DataRequest.AddGridPackageIntData | ( | String | sGridName, | |
| int | iX, | |||
| int | iY, | |||
| int | iCode, | |||
| int | iVal | |||
| ) | throws SAXException |
Accepts a piece of grid package int data from the parser.
If this particular piece is not wanted, do nothing.
| sGridName | Name of the grid for this data | |
| iX | X number of the cell from which this value came | |
| iY | Y number of the cell from which this value came | |
| iCode | Data member code of this value. | |
| iVal | Value. |
| void datavisualizer.DataRequest.AddGridPackageCharData | ( | String | sGridName, | |
| int | iX, | |||
| int | iY, | |||
| int | iCode, | |||
| String | sVal | |||
| ) | throws SAXException |
Accepts a piece of grid package char data from the parser.
If this particular piece is not wanted, do nothing.
| sGridName | Name of the grid for this data | |
| iX | X number of the cell from which this value came | |
| iY | Y number of the cell from which this value came | |
| iCode | Data member code of this value. | |
| sVal | Value. |
| void datavisualizer.DataRequest.AddGridPackageBoolData | ( | String | sGridName, | |
| int | iX, | |||
| int | iY, | |||
| int | iCode, | |||
| boolean | bVal | |||
| ) | throws SAXException |
Accepts a piece of grid package bool data from the parser.
If this particular piece is not wanted, do nothing.
| sGridName | Name of the grid for this data | |
| iX | X number of the cell from which this value came | |
| iY | Y number of the cell from which this value came | |
| iCode | Data member code of this value. | |
| bVal | Value. |
| void datavisualizer.DataRequest.EndPackage | ( | ) | throws SAXException |
Announces a package has ended.
Data requests can do whatever they want with this information, including nothing.
Reimplemented in datavisualizer.WindstormDataRequest.
| void datavisualizer.DataRequest.EndTree | ( | ) | throws SAXException |
Announces a tree record has ended.
Data requests can do whatever they want with this information, including nothing.
Reimplemented in datavisualizer.TreeListWriter.
| void datavisualizer.DataRequest.AddTreeFloatDataMemberCode | ( | int | iSpecies, | |
| int | iType, | |||
| String | sLabel, | |||
| int | iCode | |||
| ) | throws SAXException |
Accepts a tree float data member code for future reference when passed float data members.
| iSpecies | The species for which this is a data member. | |
| iType | The tree type for which this is a data member. | |
| sLabel | The label of the data member. | |
| iCode | The data member code. |
Reimplemented in datavisualizer.HistogramDataRequest, datavisualizer.LineGraphDataRequest, datavisualizer.OverviewTableDataRequest, datavisualizer.StandTableDataRequest, datavisualizer.StockTableDataRequest, datavisualizer.TreeListWriter, datavisualizer.TreeMapCrownRadDataRequest, and datavisualizer.TreeMapDataRequest.
| void datavisualizer.DataRequest.AddTreeIntDataMemberCode | ( | int | iSpecies, | |
| int | iType, | |||
| String | sLabel, | |||
| int | iCode | |||
| ) | throws SAXException |
Accepts a tree int data member code for future reference when passed int data members.
| iSpecies | The species for which this is a data member. | |
| iType | The tree type for which this is a data member. | |
| sLabel | The label of the data member. | |
| iCode | The data member code. |
Reimplemented in datavisualizer.HistogramDataRequest, and datavisualizer.TreeListWriter.
| void datavisualizer.DataRequest.AddTreeCharDataMemberCode | ( | int | iSpecies, | |
| int | iType, | |||
| String | sLabel, | |||
| int | iCode | |||
| ) | throws SAXException |
Accepts a tree char data member code for future reference when passed char data members.
| iSpecies | The species for which this is a data member. | |
| iType | The tree type for which this is a data member. | |
| sLabel | The label of the data member. | |
| iCode | The data member code. |
Reimplemented in datavisualizer.TreeListWriter.
| void datavisualizer.DataRequest.AddTreeBoolDataMemberCode | ( | int | iSpecies, | |
| int | iType, | |||
| String | sLabel, | |||
| int | iCode | |||
| ) | throws SAXException |
Accepts a tree bool data member code for future reference when passed bool data members.
| iSpecies | The species for which this is a data member. | |
| iType | The tree type for which this is a data member. | |
| sLabel | The label of the data member. | |
| iCode | The data member code. |
Reimplemented in datavisualizer.TreeListWriter.
| void datavisualizer.DataRequest.AddGridFloatDataMemberCode | ( | String | sGridName, | |
| String | sLabel, | |||
| int | iCode | |||
| ) | throws SAXException |
Accepts a grid float data member code for future reference when passed float data members.
| sGridName | Name of the grid | |
| sLabel | The label of the data member. | |
| iCode | The data member code. |
Reimplemented in datavisualizer.CarbonValueDataRequest, datavisualizer.FoliarChemistryLineGraphDataRequest, datavisualizer.FoliarChemistryTableDataRequest, datavisualizer.GridAllSpeciesHistogramDataRequest, datavisualizer.GridDataRequest, datavisualizer.GridHistogramDataRequest, datavisualizer.HarvestDataRequest, datavisualizer.MerchValueDataRequest, datavisualizer.PartitionedBiomassLineGraphDataRequest, datavisualizer.PartitionedBiomassTableDataRequest, datavisualizer.RelativeNeighborhoodDensityDataRequest, datavisualizer.RipleysKDataRequest, datavisualizer.SeedTableDataRequest, datavisualizer.StateVariableTableDataRequest, and datavisualizer.StormKilledPartitionedBiomassDataRequest.
| void datavisualizer.DataRequest.AddGridIntDataMemberCode | ( | String | sGridName, | |
| String | sLabel, | |||
| int | iCode | |||
| ) | throws SAXException |
Accepts a grid int data member code for future reference when passed int data members.
| sGridName | Name of the grid | |
| sLabel | The label of the data member. | |
| iCode | The data member code. |
Reimplemented in datavisualizer.GridAllSpeciesHistogramDataRequest, datavisualizer.GridDataRequest, datavisualizer.GridHistogramDataRequest, and datavisualizer.HarvestDataRequest.
| void datavisualizer.DataRequest.AddGridCharDataMemberCode | ( | String | sGridName, | |
| String | sLabel, | |||
| int | iCode | |||
| ) | throws SAXException |
Accepts a grid char data member code for future reference when passed char data members.
| sGridName | Name of the grid | |
| sLabel | The label of the data member. | |
| iCode | The data member code. |
| void datavisualizer.DataRequest.AddGridBoolDataMemberCode | ( | String | sGridName, | |
| String | sLabel, | |||
| int | iCode | |||
| ) | throws SAXException |
Accepts a grid bool data member code for future reference when passed bool data members.
| sGridName | Name of the grid | |
| sLabel | The label of the data member. | |
| iCode | The data member code. |
Reimplemented in datavisualizer.GridDataRequest.
| void datavisualizer.DataRequest.AddGridPackageFloatDataMemberCode | ( | String | sGridName, | |
| String | sLabel, | |||
| int | iCode | |||
| ) | throws SAXException |
Accepts a grid package float data member code for future reference when passed float data members.
| sGridName | Name of the grid | |
| sLabel | The label of the data member. | |
| iCode | The data member code. |
Reimplemented in datavisualizer.StormDataRequest, and datavisualizer.WindstormDataRequest.
| void datavisualizer.DataRequest.AddGridPackageIntDataMemberCode | ( | String | sGridName, | |
| String | sLabel, | |||
| int | iCode | |||
| ) | throws SAXException |
Accepts a grid package int data member code for future reference when passed int data members.
| sGridName | Name of the grid | |
| sLabel | The label of the data member. | |
| iCode | The data member code. |
| void datavisualizer.DataRequest.AddGridPackageCharDataMemberCode | ( | String | sGridName, | |
| String | sLabel, | |||
| int | iCode | |||
| ) | throws SAXException |
Accepts a grid package char data member code for future reference when passed char data members.
| sGridName | Name of the grid | |
| sLabel | The label of the data member. | |
| iCode | The data member code. |
| void datavisualizer.DataRequest.AddGridPackageBoolDataMemberCode | ( | String | sGridName, | |
| String | sLabel, | |||
| int | iCode | |||
| ) | throws SAXException |
Accepts a grid package bool data member code for future reference when passed bool data members.
| sGridName | Name of the grid | |
| sLabel | The label of the data member. | |
| iCode | The data member code. |
| abstract void datavisualizer.DataRequest.ClearData | ( | ) | throws ModelException [package, pure virtual] |
Clears out data for garbage collection in preparation for new data being read in.
| ModelException | if there are problems. |
Implemented in datavisualizer.CarbonValueDataRequest, datavisualizer.FoliarChemistryLineGraphDataRequest, datavisualizer.FoliarChemistryTableDataRequest, datavisualizer.GridAllSpeciesHistogramDataRequest, datavisualizer.GridDataRequest, datavisualizer.GridHistogramDataRequest, datavisualizer.HarvestDataRequest, datavisualizer.HistogramDataRequest, datavisualizer.LineGraphDataRequest, datavisualizer.MerchValueDataRequest, datavisualizer.OverviewTableDataRequest, datavisualizer.PartitionedBiomassLineGraphDataRequest, datavisualizer.PartitionedBiomassTableDataRequest, datavisualizer.RelativeNeighborhoodDensityDataRequest, datavisualizer.RipleysKDataRequest, datavisualizer.SeedTableDataRequest, datavisualizer.StandTableDataRequest, datavisualizer.StateVariableTableDataRequest, datavisualizer.StockTableDataRequest, datavisualizer.StormDataRequest, datavisualizer.StormKilledPartitionedBiomassDataRequest, datavisualizer.TreeListWriter, datavisualizer.TreeMapCrownRadDataRequest, datavisualizer.TreeMapDataRequest, and datavisualizer.WindstormDataRequest.
| abstract ModelInternalFrame datavisualizer.DataRequest.DrawChart | ( | Legend | oLegend, | |
| String | sChartTitle | |||
| ) | throws ModelException [package, pure virtual] |
Draws the chart for this data request according to its individual settings and data.
| oLegend | The legend for the chart. | |
| sChartTitle | The title for the chart. |
| ModelException | if anything goes wrong with the chart drawing. |
Implemented in datavisualizer.CarbonValueDataRequest, datavisualizer.FoliarChemistryLineGraphDataRequest, datavisualizer.FoliarChemistryTableDataRequest, datavisualizer.GridAllSpeciesHistogramDataRequest, datavisualizer.GridDataRequest, datavisualizer.GridHistogramDataRequest, datavisualizer.HarvestDataRequest, datavisualizer.HistogramDataRequest, datavisualizer.LineGraphDataRequest, datavisualizer.MerchValueDataRequest, datavisualizer.OverviewTableDataRequest, datavisualizer.PartitionedBiomassLineGraphDataRequest, datavisualizer.PartitionedBiomassTableDataRequest, datavisualizer.RelativeNeighborhoodDensityDataRequest, datavisualizer.RipleysKDataRequest, datavisualizer.SeedTableDataRequest, datavisualizer.StandTableDataRequest, datavisualizer.StateVariableTableDataRequest, datavisualizer.StockTableDataRequest, datavisualizer.StormDataRequest, datavisualizer.StormKilledPartitionedBiomassDataRequest, datavisualizer.TreeListWriter, datavisualizer.TreeMapCrownRadDataRequest, datavisualizer.TreeMapDataRequest, and datavisualizer.WindstormDataRequest.
| abstract void datavisualizer.DataRequest.UpdateChart | ( | Legend | oLegend | ) | throws ModelException [package, pure virtual] |
Redraws the chart using the existing dataset.
| oLegend | The legend for this chart. |
| ModelException | if anything goes wrong with the chart drawing. |
Implemented in datavisualizer.CarbonValueDataRequest, datavisualizer.FoliarChemistryLineGraphDataRequest, datavisualizer.FoliarChemistryTableDataRequest, datavisualizer.GridAllSpeciesHistogramDataRequest, datavisualizer.GridDataRequest, datavisualizer.GridHistogramDataRequest, datavisualizer.HarvestDataRequest, datavisualizer.HistogramDataRequest, datavisualizer.LineGraphDataRequest, datavisualizer.MerchValueDataRequest, datavisualizer.OverviewTableDataRequest, datavisualizer.PartitionedBiomassLineGraphDataRequest, datavisualizer.PartitionedBiomassTableDataRequest, datavisualizer.RelativeNeighborhoodDensityDataRequest, datavisualizer.RipleysKDataRequest, datavisualizer.SeedTableDataRequest, datavisualizer.StandTableDataRequest, datavisualizer.StateVariableTableDataRequest, datavisualizer.StockTableDataRequest, datavisualizer.StormDataRequest, datavisualizer.StormKilledPartitionedBiomassDataRequest, datavisualizer.TreeListWriter, datavisualizer.TreeMapCrownRadDataRequest, datavisualizer.TreeMapDataRequest, and datavisualizer.WindstormDataRequest.
Managing object.
int datavisualizer.DataRequest.m_iCurrentTimestep [protected] |
Current time step being parsed.
Reimplemented in datavisualizer.FoliarChemistryLineGraphDataRequest, datavisualizer.LineGraphDataRequest, datavisualizer.PartitionedBiomassLineGraphDataRequest, datavisualizer.StandTableDataRequest, datavisualizer.StockTableDataRequest, and datavisualizer.TreeListWriter.
boolean datavisualizer.DataRequest.m_bShowOneTimestep = true [protected] |
Whether this chart shows one timestep at a time (true) or all timesteps (false).
Defaults to true.
String datavisualizer.DataRequest.m_sChartName [protected] |
<Chart for this request.
This is not automatically set.
1.5.6