Inheritance diagram for datavisualizer::DetailedOutputLegend:
Public Member Functions | |
DetailedOutputLegend (DetailedOutputFileManager oManager, String sTitle, String[] p_sSpeciesNames, int iMaxTimesteps) throws ModelException | |
Constructor. | |
void | actionPerformed (ActionEvent e) |
Responds to button presses. | |
void | GoToTimestep (int iTimestep) throws javawrapper. ModelException |
Changes the display to the desired timestep. | |
int | GetNumberOfTimesteps () |
Gets the number of timesteps contained in this detailed output file. | |
void | SetNumberOfTimesteps (int iNumTimesteps) |
Updates the legend with a new maximum number of timesteps. | |
int | GetCurrentTimestep () |
Gets the timestep currently being displayed. | |
Package Functions | |
DetailedOutputFileManager | GetDetailedOutputFileManager () |
Gets the file manager for this detailed output file. |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
datavisualizer::DetailedOutputLegend::DetailedOutputLegend | ( | DetailedOutputFileManager | oManager, | |
String | sTitle, | |||
String[] | p_sSpeciesNames, | |||
int | iMaxTimesteps | |||
) | throws ModelException [inline] |
Constructor.
oManager | Parent detailed output file manager. | |
sTitle | Title to display in window. | |
p_sSpeciesNames | List of species names. | |
iMaxTimesteps | Maximum number of timesteps in this detailed output file. |
ModelException | If there is a problem drawing the window. |
void datavisualizer::DetailedOutputLegend::actionPerformed | ( | ActionEvent | e | ) | [inline] |
Responds to button presses.
e | ActionEvent |
void datavisualizer::DetailedOutputLegend::GoToTimestep | ( | int | iTimestep | ) | throws javawrapper. ModelException [inline] |
Changes the display to the desired timestep.
If the requested timestep is beyond the boundaries of possible timesteps, nothing happens.
iTimestep | int Timestep to display. |
ModelException | if there is a problem updating charts. |
int datavisualizer::DetailedOutputLegend::GetNumberOfTimesteps | ( | ) | [inline] |
Gets the number of timesteps contained in this detailed output file.
void datavisualizer::DetailedOutputLegend::SetNumberOfTimesteps | ( | int | iNumTimesteps | ) | [inline] |
Updates the legend with a new maximum number of timesteps.
iNumTimesteps | int The new maximum number of timesteps. |
int datavisualizer::DetailedOutputLegend::GetCurrentTimestep | ( | ) | [inline] |
Gets the timestep currently being displayed.
DetailedOutputFileManager datavisualizer::DetailedOutputLegend::GetDetailedOutputFileManager | ( | ) | [inline, package] |
Gets the file manager for this detailed output file.