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. | |
Static Package Attributes | |
static final long | serialVersionUID = 1 |
Copyright: Copyright (c) Charles D. Canham 2003 Company: Institute of Ecosystem Studies
javawrapper.EpisodicEventsEdit.EpisodicEventsEdit | ( | EpisodicEventsWindow | oWindow, | |
String | sTitle | |||
) | throws ModelException |
Constructor.
Creates the window.
oWindow | Object to exchange data with. | |
sTitle | Window title. |
ModelException | If the window cannot be set up correctly. |
void javawrapper.EpisodicEventsEdit.SetUpCharting | ( | ) | throws ModelException [protected] |
Sets up the data cell charting.
This creates the cell renderer and the chart, and places the chart in the chart panel.
ModelException | if the chart cannot be created. |
void javawrapper.EpisodicEventsEdit.RefreshChart | ( | ) | throws ModelException [protected] |
Refreshes the chart to show the data currently held in the dataset.
ModelException | if the chart cannot be created. |
JPanel javawrapper.EpisodicEventsEdit.MakeTreeLegendPanel | ( | TreePopulation | oPop | ) | [protected] |
Creates a tree legend panel.
oPop | TreePopulation Tree population object, for querying for existence of trees. |
final long javawrapper.EpisodicEventsEdit.serialVersionUID = 1 [static, package] |
Reimplemented in javawrapper.HarvestEdit, javawrapper.MortalityEpisodeEdit, and javawrapper.PlantEdit.
Copy of the EpisodicEventsWindow object to exchange data with.
XYSimpleCellRenderer javawrapper.EpisodicEventsEdit.m_oRenderer = new XYSimpleCellRenderer() [protected] |
Renderer which displays current cell selections.
Dataset of values that says whether a cell is currently selected (true) or not (false).
JPanel javawrapper.EpisodicEventsEdit.m_jChartPanel = new JPanel() [protected] |
Panel container for the chart.
org.jfree.chart.ChartPanel javawrapper.EpisodicEventsEdit.m_oChart [protected] |
ChartPanel displaying the chart.
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_iNumSpecies [protected] |
Total number of tree species.
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.