javawrapper::EpisodicEventsEdit Class Reference

Base class for windows for episodic event editing. More...

Inheritance diagram for javawrapper::EpisodicEventsEdit:

javawrapper::HarvestEdit javawrapper::MortalityEpisodeEdit javawrapper::PlantEdit List of all members.

Public Member Functions

 EpisodicEventsEdit (EpisodicEventsWindow oWindow, String sTitle) throws ModelException
 Constructor.

Protected Member Functions

void SetUpCharting () throws ModelException
 Sets up the data cell charting.
void RefreshChart () throws ModelException
 Refreshes the chart to show the data currently held in the dataset.
JPanel MakeTreeLegendPanel (TreePopulation oPop)
 Creates a tree legend panel.

Protected Attributes

EpisodicEventsWindow m_oEpisodicEventsWindow
 Copy of the EpisodicEventsWindow object to exchange data with.
XYSimpleCellRenderer m_oRenderer = new XYSimpleCellRenderer()
 Renderer which displays current cell selections.
XYZSimpleDataset m_oDataset
 Dataset of values that says whether a cell is currently selected (true) or not (false).
JPanel m_jChartPanel = new JPanel()
 Panel container for the chart.
org.jfree.chart.ChartPanel m_oChart
 ChartPanel displaying the chart.
java.awt.Color m_jColor
 Color for displaying selected cells.
float m_fLengthXCells
 Length of cells in the X direction.
float m_fLengthYCells
 Length of cells in the Y direction.
int m_iNumSpecies
 Total number of tree species.
int m_iNumXCells
 Number of X cells in the grid.
int m_iNumYCells
 Number of Y cells in the grid.

Detailed Description

Base class for windows for episodic event editing.

Copyright: Copyright (c) Charles D. Canham 2003 Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0


Constructor & Destructor Documentation

javawrapper::EpisodicEventsEdit::EpisodicEventsEdit ( EpisodicEventsWindow  oWindow,
String  sTitle 
) throws ModelException [inline]

Constructor.

Creates the window.

Parameters:
oWindow Object to exchange data with.
sTitle Window title.
Exceptions:
ModelException If the window cannot be set up correctly.


Member Function Documentation

void javawrapper::EpisodicEventsEdit::SetUpCharting (  )  throws ModelException [inline, protected]

Sets up the data cell charting.

This creates the cell renderer and the chart, and places the chart in the chart panel.

Exceptions:
ModelException if the chart cannot be created.

void javawrapper::EpisodicEventsEdit::RefreshChart (  )  throws ModelException [inline, protected]

Refreshes the chart to show the data currently held in the dataset.

Exceptions:
ModelException if the chart cannot be created.

JPanel javawrapper::EpisodicEventsEdit::MakeTreeLegendPanel ( TreePopulation  oPop  )  [inline, protected]

Creates a tree legend panel.

Parameters:
oPop TreePopulation Tree population object, for querying for existence of trees.
Returns:
JPanel Panel with tree legend on it.


Member Data Documentation

java.awt.Color javawrapper::EpisodicEventsEdit::m_jColor [protected]

Color for displaying selected cells.

Children need to set this value.

float javawrapper::EpisodicEventsEdit::m_fLengthXCells [protected]

Length of cells in the X direction.

Children need to set this value.

float javawrapper::EpisodicEventsEdit::m_fLengthYCells [protected]

Length of cells in the Y direction.

Children need to set this value.

int javawrapper::EpisodicEventsEdit::m_iNumXCells [protected]

Number of X cells in the grid.

Children need to set this value.

int javawrapper::EpisodicEventsEdit::m_iNumYCells [protected]

Number of Y cells in the grid.

Children need to set this value.


The documentation for this class was generated from the following file:
Generated on Thu May 24 09:34:53 2007 for SORTIE Java Interface by  doxygen 1.5.2