Inheritance diagram for javawrapper::EpisodicEventsEdit:

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 mp_iCells. | |
| JPanel | MakeTreeLegendPanel (TreePopulation oPop) |
| Creates a tree legend panel. | |
Protected Attributes | |
| EpisodicEventsWindow | m_oEpisodicEventsWindow |
| Copy of the EpisodicEventsWindow object to exchange data with. | |
| datavisualizer.XYCellRenderer | m_oRenderer |
| Renderer which displays current cell selections. | |
| int[][] | mp_iCells |
| Grid of values that says whether a cell is currently selected (1) or not (0). | |
| 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. | |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
| javawrapper::EpisodicEventsEdit::EpisodicEventsEdit | ( | EpisodicEventsWindow | oWindow, | |
| String | sTitle | |||
| ) | throws ModelException [inline] |
Constructor.
Creates the window.
| oWindow | Object to exchange data with. | |
| sTitle | Window title. |
| ModelException | If the window cannot be set up correctly. |
| JPanel javawrapper::EpisodicEventsEdit::MakeTreeLegendPanel | ( | TreePopulation | oPop | ) | [inline, protected] |
Creates a tree legend panel.
| oPop | TreePopulation Tree population object, for querying for existence of trees. |
| void javawrapper::EpisodicEventsEdit::RefreshChart | ( | ) | throws ModelException [inline, protected] |
Refreshes the chart to show the data currently held in mp_iCells.
Note this function seems a little slow (surprise, surprise, with chart redraw!) so it's a goal to come back and make a faster way to do this.
| ModelException | if the chart cannot be created. |
| 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.
| ModelException | if the chart cannot be created. |
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.
java.awt.Color javawrapper::EpisodicEventsEdit::m_jColor [protected] |
Color for displaying selected cells.
Children need to set this value.
Initial value:
new datavisualizer.
XYCellRenderer()
1.4.7