Inheritance diagram for datavisualizer::ShortOutputFileManager:
Public Member Functions | |
void | UpdateCurrentRunCharts () throws ModelException |
Updates charts for a current run. | |
void | UpdateCharts () throws ModelException |
Redraws all open chart objects, except tables. | |
String[] | GetTableOptions () |
Gets table options. | |
String[] | GetHistogramOptions () |
No histogram options for this type of chart. | |
String[] | GetMapOptions () |
No map options for this type of chart. | |
String[] | GetLineGraphOptions () |
Gets the line graph options. | |
ShortOutputFileManager (String sFileName) throws ModelException | |
Constructor. | |
Protected Member Functions | |
JInternalFrame | DrawChart (String sGraphName) throws ModelException |
Draws a requested chart. | |
void | UpdateTable (JPanel jTableWindowPanel, int iTimestep, int iSubplot) |
Updates a table window with new data. | |
DefaultXYDataset | AdjustVisibleSpecies (DefaultXYDataset oDataset, Legend oLegend) throws ModelException |
This will take a dataset and make a copy with only series for species which are supposed to be visible. | |
Classes | |
class | LineGraphFileWriter |
Takes care of writing out a line graph's data. More... | |
class | TableFileWriter |
Writes out table data to file. More... | |
class | TotalUpdater |
Handles it when a "Show Total" checkbox is checked. More... |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
datavisualizer::ShortOutputFileManager::ShortOutputFileManager | ( | String | sFileName | ) | throws ModelException [inline] |
Constructor.
Analyzes the output file for the data it contains.
sFileName | Filename to manage. |
ModelException | If file cannot be read. |
JInternalFrame datavisualizer::ShortOutputFileManager::DrawChart | ( | String | sGraphName | ) | throws ModelException [inline, protected, virtual] |
Draws a requested chart.
sGraphName | Name of the chart to draw. |
ModelException | if there's a problem drawing the chart. |
Implements datavisualizer::DataFileManager.
void datavisualizer::ShortOutputFileManager::UpdateTable | ( | JPanel | jTableWindowPanel, | |
int | iTimestep, | |||
int | iSubplot | |||
) | [inline, protected] |
Updates a table window with new data.
jTableWindowPanel | The content pane of the window containing the table to update. | |
iTimestep | The timestep of the data to display. | |
iSubplot | The subplot of the data to display. |
void datavisualizer::ShortOutputFileManager::UpdateCurrentRunCharts | ( | ) | throws ModelException [inline, virtual] |
Updates charts for a current run.
This reparses and redraws the charts from scratch, since they show the cumulative history of a run.
ModelException | if there is a problem reading the file or drawing the charts. |
Implements datavisualizer::DataFileManager.
void datavisualizer::ShortOutputFileManager::UpdateCharts | ( | ) | throws ModelException [inline, virtual] |
Redraws all open chart objects, except tables.
Tables are not affected by any incidence that affects the other charts, such as clicking species on the legend.
ModelException | passing through from other methods. |
Implements datavisualizer::DataFileManager.
String [] datavisualizer::ShortOutputFileManager::GetTableOptions | ( | ) | [inline, virtual] |
Gets table options.
A summary table can be created from this file type.
Implements datavisualizer::DataFileManager.
String [] datavisualizer::ShortOutputFileManager::GetHistogramOptions | ( | ) | [inline, virtual] |
No histogram options for this type of chart.
Implements datavisualizer::DataFileManager.
String [] datavisualizer::ShortOutputFileManager::GetMapOptions | ( | ) | [inline, virtual] |
No map options for this type of chart.
Implements datavisualizer::DataFileManager.
String [] datavisualizer::ShortOutputFileManager::GetLineGraphOptions | ( | ) | [inline, virtual] |
Gets the line graph options.
Implements datavisualizer::DataFileManager.
DefaultXYDataset datavisualizer::ShortOutputFileManager::AdjustVisibleSpecies | ( | DefaultXYDataset | oDataset, | |
Legend | oLegend | |||
) | throws ModelException [inline, protected] |
This will take a dataset and make a copy with only series for species which are supposed to be visible.
oDataset | The dataset. | |
oLegend | The legend which controls which species are visible. |
ModelException | wrapping another exception. |