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. | |
JInternalFrame | 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. | |
Private Member Functions | |
XYCellRenderer | GetRenderer () throws javawrapper.ModelException |
Creates the XYCellRenderer for this graph. | |
Private Attributes | |
XYZSeries | m_oSeries |
This holds the actual grid XYZ data. | |
float | m_fMinDisplayValue |
Minimum value, in case the user sets it. | |
float | m_fKneeDisplayValue |
Knee value, in case the user sets it. | |
float | m_fMaxDisplayValue |
Maximum value, in case the user sets it. | |
int | m_iDataCode |
Data member code of the value we're graphing. | |
int | m_iMinDisplayColor |
Minimum color value, in case the user sets it. | |
int | m_iKneeDisplayColor |
Knee color value, in case the user sets it. | |
int | m_iMaxDisplayColor |
Maximum color value, in case the user sets it. | |
boolean | m_bDataIsInt |
Whether or not the data member is an integer. | |
boolean | m_bDataIsFloat |
Whether or not the data member is a float. | |
boolean | m_bDataIsBoolean |
Whether or not the data member is a boolean. | |
boolean | m_bUserSetDisplay = false |
Whether or not the user has manually set grayscale display - if true, there will be no more automatic updating of the grayscale values. |
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.
|
Constructor.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Accepts the value of our data member from the parser, if bool.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented from datavisualizer::DataRequest. |
|
Checks to see if our data member's a boolean. If the label matches, this grabs the code and sets the flags.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented from datavisualizer::DataRequest. |
|
Accepts the value of our data member from the parser, if float.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented from datavisualizer::DataRequest. |
|
Checks to see if our data member's a float. If the label matches, this grabs the code and sets the flags.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented from datavisualizer::DataRequest. |
|
Accepts the value of our data member from the parser, if float.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented from datavisualizer::DataRequest. |
|
Checks to see if our data member's an integer. If the label matches, this grabs the code and sets the flags.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented from datavisualizer::DataRequest. |
|
Clears out data for garbage collection in preparation for new data being read in.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implements datavisualizer::DataRequest. |
|
Draws the grayscale grid map.
Implements datavisualizer::DataRequest. |
|
Creates the XYCellRenderer for this graph. If the user has set grayscale controls, they are passed to the renderer. If not, this sets the defaults according to the dataset. The minimum data value is set to 0 unless there is a smaller value, in which case that becomes the minimum. The maximum data value is set to the highest Z value in the dataset. The knee value is set halfway from the minimum to the maximum. The color values are left alone.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Sets the knee display color for the grid. Same as XYCellRenderer's knee color.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Sets the knee display value for the grid. Same as XYCellRenderer's knee value.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Sets the maximum display color for the grid. Same as XYCellRenderer's maximum color.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Sets the maximum display value for the grid. Same as XYCellRenderer's maximum value.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Sets the minimum display color for the grid. Same as XYCellRenderer's minimum color.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Sets the minimum display value for the grid. Same as XYCellRenderer's minimum value.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Sets whether or not the user set display values.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Updates the chart with whatever's in our dataset.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implements datavisualizer::DataRequest. |
|
Whether or not the data member we want is boolean.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented from datavisualizer::DataRequest. |
|
Whether or not the data member we want is float.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented from datavisualizer::DataRequest. |
|
Whether or not the data member we want is integer.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Reimplemented from datavisualizer::DataRequest. |
|
Writes the grid map's data to tab-delimited text.
Implements datavisualizer::DataRequest. |
|
This holds the actual grid XYZ data. X is the X cell number, Y is the Y cell number, Z is the value of the cell to graph. |