Inheritance diagram for datavisualizer::DataFileManager:
Public Member Functions | |
Legend | GetLegend () |
Get the legend for this file. | |
int | GetNumberOpenCharts () |
Gets the number of open charts for this file. | |
void | CloseAllCharts () |
Closes all the open charts for this window. | |
void | CleanUp () |
Any clean-up tasks that must be done can be put here. | |
DataFileManager (String sFileName) | |
Constructor. | |
String | GetFileName () |
Gets the file being managed. | |
abstract String[] | GetLineGraphOptions () |
Gets a list of the line graphs this object is capable of drawing. | |
abstract String[] | GetMapOptions () |
Gets a list of maps this object is capable of drawing. | |
abstract String[] | GetHistogramOptions () |
Gets a list of histograms this object is capable of drawing. | |
abstract String[] | GetTableOptions () |
Gets a list of tables this object is capable of drawing. | |
JInternalFrame | CreateNewChart (String sGraphName) throws ModelException |
Creates a requested chart as a JInternalFrame. | |
abstract void | UpdateCharts () throws ModelException |
Prompts the redrawing of all open charts. | |
abstract void | UpdateCurrentRunCharts () throws ModelException |
Prompts the redrawing of open charts for the current run. | |
Protected Member Functions | |
abstract JInternalFrame | DrawChart (String sGraphName) throws ModelException |
Creates a requested chart as a JInternalFrame. | |
Protected Attributes | |
String | m_sFilename |
File under management. | |
Vector | mp_oCharts |
All charts under management. | |
Legend | m_oLegend |
The legend for this file. |
It is responsible for parsing the data out of the file, telling the data visualizer what charts are available, and providing requested charts.
Each DataFileManager object keeps track of the charts it has created and placed in JInternalFrame objects. These objects are under the direct management of the entitity to which they were originally passed when DrawChart() was called to create them, but the DataFileManager object retains the ability to update them per user request.
Copyright: Copyright (c) Charles D. Canham 2004
Company: Institute of Ecosystem Studies
|
Constructor.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Any clean-up tasks that must be done can be put here. This will be called before the object is destroyed.
Reimplemented in datavisualizer::DetailedOutputFileManager. |
|
Creates a requested chart as a JInternalFrame. If the chart already exists, a new one is not created; the existing one is returned. If the chart is new, the JInternalFrame will not be packed or set to visible - it will simply have its GUI components.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Creates a requested chart as a JInternalFrame. The JInternalFrame will not be packed or set to visible - it will simply have its GUI components. If the chart requested already exists, the existing chart is returned.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implemented in datavisualizer::DetailedOutputFileManager, and datavisualizer::ShortOutputFileManager. |
|
Gets the file being managed.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Gets a list of histograms this object is capable of drawing.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implemented in datavisualizer::DetailedOutputFileManager, and datavisualizer::ShortOutputFileManager. |
|
Get the legend for this file.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Gets a list of the line graphs this object is capable of drawing.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implemented in datavisualizer::DetailedOutputFileManager, and datavisualizer::ShortOutputFileManager. |
|
Gets a list of maps this object is capable of drawing.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implemented in datavisualizer::DetailedOutputFileManager, and datavisualizer::ShortOutputFileManager. |
|
Gets the number of open charts for this file.
|
|
Gets a list of tables this object is capable of drawing.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implemented in datavisualizer::DetailedOutputFileManager, and datavisualizer::ShortOutputFileManager. |
|
Prompts the redrawing of all open charts.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implemented in datavisualizer::DetailedOutputFileManager, and datavisualizer::ShortOutputFileManager. |
|
Prompts the redrawing of open charts for the current run. The data file manager should search for and display the most recent information.
Implemented in datavisualizer::DetailedOutputFileManager, and datavisualizer::ShortOutputFileManager. |