Inheritance diagram for datavisualizer::GridDataRequest:
Public Member Functions | |
GridDataRequest (String sChartName, String sGridName, String sDataMemberLabel, DetailedOutputFileManager oManager) | |
Constructor. | |
boolean | WantAnyGridBools () |
Whether or not the data member we want is boolean. | |
boolean | WantAnyGridInts () |
Whether or not the data member we want is integer. | |
boolean | WantAnyGridFloats () |
Whether or not the data member we want is float. | |
void | AddGridFloatDataMemberCode (String sGridName, String sLabel, int iCode) |
Checks to see if our data member's a float. | |
void | AddGridIntDataMemberCode (String sGridName, String sLabel, int iCode) |
Checks to see if our data member's an integer. | |
void | AddGridBoolDataMemberCode (String sGridName, String sLabel, int iCode) |
Checks to see if our data member's a boolean. | |
void | AddGridBoolData (String sGridName, int iX, int iY, int iCode, boolean bVal) |
Accepts the value of our data member from the parser, if bool. | |
void | AddGridFloatData (String sGridName, int iX, int iY, int iCode, float fVal) |
Accepts the value of our data member from the parser, if float. | |
void | AddGridIntData (String sGridName, int iX, int iY, int iCode, int iVal) |
Accepts the value of our data member from the parser, if float. | |
void | SetMinimumDisplayValue (float fValue) |
Sets the minimum display value for the grid. | |
void | SetKneeDisplayValue (float fValue) |
Sets the knee display value for the grid. | |
void | SetMaximumDisplayValue (float fValue) |
Sets the maximum display value for the grid. | |
void | SetMinimumDisplayColor (int iValue) |
Sets the minimum display color for the grid. | |
void | SetKneeDisplayColor (int iValue) |
Sets the knee display color for the grid. | |
void | SetMaximumDisplayColor (int iValue) |
Sets the maximum display color for the grid. | |
void | SetUserSetDisplay (boolean bValue) |
Sets whether or not the user set display values. | |
Protected Member Functions | |
void | WriteChartDataToFile (java.io.FileWriter jOut) throws java.io. IOException |
Writes the grid map's data to tab-delimited text. | |
Package Functions | |
void | UpdateChart (Legend oLegend) throws javawrapper.ModelException |
Updates the chart with whatever's in our dataset. | |
ModelInternalFrame | DrawChart (Legend oLegend, String sChartTitle) throws javawrapper.ModelException |
Draws the grayscale grid map. | |
void | ClearData () throws javawrapper.ModelException |
Clears out data for garbage collection in preparation for new data being read in. | |
Package Attributes | |
String | m_sDataMemberLabel |
The label of the data member to graph. | |
String | m_sGridName |
The grid of the data member being graphed. |
It can graph an integer, a float, or a bool (which converts to an int of 0 or 1). The values are mapped on a grayscale. The minimum (black) value will be 0, or the smallest value if it is less than 0. The maximum (white) value will be found at each timestep, and the knee will be set between the minimum and maximum value.
datavisualizer::GridDataRequest::GridDataRequest | ( | String | sChartName, | |
String | sGridName, | |||
String | sDataMemberLabel, | |||
DetailedOutputFileManager | oManager | |||
) | [inline] |
Constructor.
sChartName | Name of chart. | |
sDataMemberLabel | Label of data member to graph. | |
sGridName | Name of the grid that has the data member. | |
oManager | DetailedOutputFileManager for this file. |
void datavisualizer::GridDataRequest::WriteChartDataToFile | ( | java.io.FileWriter | jOut | ) | throws java.io. IOException [inline, protected, virtual] |
Writes the grid map's data to tab-delimited text.
jOut | java.io.FileWriter The file to write to. |
java.io.IOException | if there's a problem writing the file. |
Implements datavisualizer::DataRequest.
boolean datavisualizer::GridDataRequest::WantAnyGridBools | ( | ) | [inline] |
Whether or not the data member we want is boolean.
Reimplemented from datavisualizer::DataRequest.
boolean datavisualizer::GridDataRequest::WantAnyGridInts | ( | ) | [inline] |
Whether or not the data member we want is integer.
Reimplemented from datavisualizer::DataRequest.
boolean datavisualizer::GridDataRequest::WantAnyGridFloats | ( | ) | [inline] |
Whether or not the data member we want is float.
Reimplemented from datavisualizer::DataRequest.
void datavisualizer::GridDataRequest::AddGridFloatDataMemberCode | ( | String | sGridName, | |
String | sLabel, | |||
int | iCode | |||
) | [inline] |
Checks to see if our data member's a float.
If the label matches, this grabs the code and sets the flags.
sGridName | Name of the grid | |
sLabel | The label of the data member. | |
iCode | The data member code. |
Reimplemented from datavisualizer::DataRequest.
void datavisualizer::GridDataRequest::AddGridIntDataMemberCode | ( | String | sGridName, | |
String | sLabel, | |||
int | iCode | |||
) | [inline] |
Checks to see if our data member's an integer.
If the label matches, this grabs the code and sets the flags.
sGridName | Name of the grid | |
sLabel | The label of the data member. | |
iCode | The data member code. |
Reimplemented from datavisualizer::DataRequest.
void datavisualizer::GridDataRequest::AddGridBoolDataMemberCode | ( | String | sGridName, | |
String | sLabel, | |||
int | iCode | |||
) | [inline] |
Checks to see if our data member's a boolean.
If the label matches, this grabs the code and sets the flags.
sGridName | Name of the grid | |
sLabel | The label of the data member. | |
iCode | The data member code. |
Reimplemented from datavisualizer::DataRequest.
void datavisualizer::GridDataRequest::AddGridBoolData | ( | String | sGridName, | |
int | iX, | |||
int | iY, | |||
int | iCode, | |||
boolean | bVal | |||
) | [inline] |
Accepts the value of our data member from the parser, if bool.
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 from datavisualizer::DataRequest.
void datavisualizer::GridDataRequest::AddGridFloatData | ( | String | sGridName, | |
int | iX, | |||
int | iY, | |||
int | iCode, | |||
float | fVal | |||
) | [inline] |
Accepts the value of our data member from the parser, if float.
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 from datavisualizer::DataRequest.
void datavisualizer::GridDataRequest::AddGridIntData | ( | String | sGridName, | |
int | iX, | |||
int | iY, | |||
int | iCode, | |||
int | iVal | |||
) | [inline] |
Accepts the value of our data member from the parser, if float.
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 from datavisualizer::DataRequest.
void datavisualizer::GridDataRequest::UpdateChart | ( | Legend | oLegend | ) | throws javawrapper.ModelException [inline, package, virtual] |
Updates the chart with whatever's in our dataset.
oLegend | Legend. Ignored. |
javawrapper.ModelException | If there's a problem. |
Implements datavisualizer::DataRequest.
ModelInternalFrame datavisualizer::GridDataRequest::DrawChart | ( | Legend | oLegend, | |
String | sChartTitle | |||
) | throws javawrapper.ModelException [inline, package, virtual] |
Draws the grayscale grid map.
oLegend | Tree legend - ignored. | |
sChartTitle | Title of chart. |
javawrapper.ModelException | Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
Implements datavisualizer::DataRequest.
void datavisualizer::GridDataRequest::ClearData | ( | ) | throws javawrapper.ModelException [inline, package, virtual] |
Clears out data for garbage collection in preparation for new data being read in.
ModelException | if there are problems. |
Implements datavisualizer::DataRequest.
void datavisualizer::GridDataRequest::SetMinimumDisplayValue | ( | float | fValue | ) | [inline] |
Sets the minimum display value for the grid.
Same as XYCellRenderer's minimum value.
fValue | Minimum display value for the grid. |
void datavisualizer::GridDataRequest::SetKneeDisplayValue | ( | float | fValue | ) | [inline] |
Sets the knee display value for the grid.
Same as XYCellRenderer's knee value.
fValue | Knee display value for the grid. |
void datavisualizer::GridDataRequest::SetMaximumDisplayValue | ( | float | fValue | ) | [inline] |
Sets the maximum display value for the grid.
Same as XYCellRenderer's maximum value.
fValue | Maximum display value for the grid. |
void datavisualizer::GridDataRequest::SetMinimumDisplayColor | ( | int | iValue | ) | [inline] |
Sets the minimum display color for the grid.
Same as XYCellRenderer's minimum color.
iValue | Minimum display color for the grid. |
void datavisualizer::GridDataRequest::SetKneeDisplayColor | ( | int | iValue | ) | [inline] |
Sets the knee display color for the grid.
Same as XYCellRenderer's knee color.
iValue | Knee display color for the grid. |
void datavisualizer::GridDataRequest::SetMaximumDisplayColor | ( | int | iValue | ) | [inline] |
Sets the maximum display color for the grid.
Same as XYCellRenderer's maximum color.
iValue | Maximum display color for the grid. |
void datavisualizer::GridDataRequest::SetUserSetDisplay | ( | boolean | bValue | ) | [inline] |
Sets whether or not the user set display values.
bValue | Whether or not the user set display values. |