SORTIE Java Interface  1
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
sortie.gui.EpisodicEventsWindow Class Reference

Displays episodic events and allows for editing. More...

Inheritance diagram for sortie.gui.EpisodicEventsWindow:

Public Member Functions

 EpisodicEventsWindow (JFrame oOwner, DisturbanceBehaviors oDisturbanceBehaviors, PlantingBehaviors oPlantBehaviors) throws ModelException
 Constructor.
 
void stateChanged (ChangeEvent e)
 Fired when the tabbed pane tab is changed.
 
void actionPerformed (ActionEvent oEvent)
 Responds to window events.
 
TreePopulation getTreePopulation ()
 Gets access to the tree population for benefit of child windows.
 
javax.help.HelpBroker getHelpBroker ()
 Gets access to the HelpBroker object for benefit of child windows.
 

Static Public Attributes

static final Color HARVEST_COLOR = new Color(255, 100, 255)
 Color for displaying harvests.
 
static final Color PLANT_COLOR = new Color(255, 255, 100)
 Color for displaying plantings.
 
static final Color MORTALITY_EPISODE_COLOR = new Color(150, 225, 225)
 Color for displaying mortality episode events.
 

Protected Member Functions

void setUpCharting () throws ModelException
 Sets up the chart and displays any trees.
 
void makeTreeDatasetAndRenderer () throws ModelException
 Create the dataset and renderer for the trees.
 
void getPlotAndGridInfo () throws ModelException
 Gets information on the plot and the grids.
 
void makeGUI () throws ModelException
 Draws the window.
 
void displayNextHarvest () throws ModelException
 Displays the next harvest when the ">>" button is pressed.
 
void displayNextMortalityEpisode () throws ModelException
 Displays the next mortality episode when the next button is pressed.
 
void displayNextPlanting () throws ModelException
 Displays the next planting event when the ">>" button is pressed.
 
void displayPreviousHarvest () throws ModelException
 Displays the next harvest when the previous button is pressed.
 
void displayPreviousMortalityEpisode () throws ModelException
 Displays the previous mortality episode when the previous button is pressed.
 
void displayPreviousPlanting () throws ModelException
 Displays the next plant event when the previous button is pressed.
 
void deleteHarvest () throws ModelException
 Deletes the currently displayed harvest.
 
void deletePlanting () throws ModelException
 Deletes the currently displayed planting.
 
void deleteMortalityEpisode () throws ModelException
 Deletes the currently displayed mortality episode.
 
void displayHarvest (HarvestData oHarvest) throws ModelException
 Causes a harvest event to be displayed in the window.
 
void displayMortalityEpisode (HarvestData oEpisode) throws ModelException
 Causes a mortality episode to be displayed in the window.
 
void displayPlanting (PlantingData oPlanting) throws ModelException
 Causes a planting event to be displayed in the window.
 
void addFinishedData () throws ModelException
 Takes the final data and adds it back to the behavior groups.
 

Protected Attributes

DefaultXYZDataset m_oTreeDataset = new DefaultXYZDataset()
 A dataset for trees, one series for each species.
 
XYTreeRenderer m_oTreeRenderer
 Renderer for displaying the trees along with episodic event data.
 
XYPlot m_oPlot = new XYPlot()
 Plot object for rendering events.
 
DisturbanceBehaviors m_oDisturbanceBehaviors
 Copy of the DisturbanceBehaviors object to exchange data with.
 
PlantingBehaviors m_oPlantBehaviors
 Copy of the PlantingBehaviors object to exchange data with.
 
float[] mp_fPlantInitialDiam10s
 Copy of the planting initial diameter at 10 cm values.
 
Vector< HarvestDatamp_oHarvestData = new Vector<HarvestData>(0)
 Copy of harvest data - copy this from m_oDisturbanceBehaviors, let the user make their updates, then copy this back to m_oDisturbanceBehaviors.
 
Vector< HarvestDatamp_oMortEpisodeData = new Vector<HarvestData>(0)
 Copy of mortality episode data - copy this from m_oDisturbanceBehaviors, let the user make their updates, then copy this back to m_oDisturbanceBehaviors.
 
Vector< PlantingDatamp_oPlantingData = new Vector<PlantingData>(0)
 Copy of planting data - copy this from m_oPlantBehaviors, let the user make their updates, then copy this back to m_oPlantBehaviors.
 
JTabbedPane m_jTabs = new JTabbedPane()
 For displaying harvest, episodic mortality, and planting events.
 
JLabel mp_jSpeciesPlantPercentages []
 Array of labels displaying species percentages for the current planting.
 
JLabel mp_jSpeciesPlantInitialDiam10 []
 Array of labels displaying the initial diam10 for each species for all plantings.
 
JLabel m_jCutTypeLabel = new JLabel("N/A")
 Label that displays the cut type for the currently displayed harvest.
 
JLabel m_jHarvestTimestepLabel = new JLabel("N/A")
 Label that displays the timestep for the currently displayed harvest.
 
JLabel m_jPlantTimestepLabel = new JLabel("N/A")
 Label that displays the timestep for the currently displayed planting.
 
JLabel m_jMortEpTimestepLabel = new JLabel("N/A")
 Label that displays the timestep for the currently displayed episodic mortality event.
 
JLabel m_jHarvestCutAmountTypeLabel
 Label that displays the cut amount type for the currently displayed harvest.
 
JLabel m_jMortEpCutAmountTypeLabel = new JLabel("N/A")
 Label that displays the cut amount type for the currently displayed mortality episode event.
 
JLabel m_jPlantSpacingLabel = new JLabel("N/A")
 Label that displays the plant spacing for the currently displayed planting.
 
JLabel m_jPlantAmountLabel = new JLabel("Density (#/ha):")
 Label that displays the plant amount label for the currently displayed planting.
 
JLabel m_jPlantAmountValueLabel = new JLabel("N/A")
 Label that displays the plant amount value for the currently displayed planting.
 
JLabel m_jNumHarvestEvents = new JLabel("0")
 Label that displays number of harvest events currently defined.
 
JLabel m_jNumMortEpEvents = new JLabel("0")
 Label that displays number of mortality episodes currently defined.
 
JLabel m_jNumPlantingEvents = new JLabel("0")
 Label that displays number of planting events currently defined.
 
JLabel m_jHarvestNumber = new JLabel("0")
 Label that displays the number of the current harvest event.
 
JLabel m_jMortEpNumber = new JLabel("0")
 Label that displays the number of the current mortality episode event.
 
JLabel m_jPlantNumber = new JLabel("0")
 Label that displays the number of the current planting event.
 
JLabel m_jHarvestCutRange1Min = new JLabel("0")
 Label that displays the cut range 1 minimum for the currently displayed harvest.
 
JLabel m_jHarvestCutRange2Min = new JLabel("0")
 Label that displays the cut range 2 minimum for the currently displayed harvest.
 
JLabel m_jHarvestCutRange3Min = new JLabel("0")
 Label that displays the cut range 3 minimum for the currently displayed harvest.
 
JLabel m_jHarvestCutRange4Min = new JLabel("0")
 Label that displays the cut range 4 minimum for the currently displayed harvest.
 
JLabel m_jHarvestCutRange1Max = new JLabel("0")
 Label that displays the cut range 1 maximum for the currently displayed harvest.
 
JLabel m_jHarvestCutRange2Max = new JLabel("0")
 Label that displays the cut range 2 maximum for the currently displayed harvest.
 
JLabel m_jHarvestCutRange3Max = new JLabel("0")
 Label that displays the cut range 3 maximum for the currently displayed harvest.
 
JLabel m_jHarvestCutRange4Max = new JLabel("0")
 Label that displays the cut range 4 maximum for the currently displayed harvest.
 
JLabel m_jHarvestCutRange1Amt = new JLabel("0")
 Label that displays the cut range 1 amount for the currently displayed harvest.
 
JLabel m_jHarvestCutRange2Amt = new JLabel("0")
 Label that displays the cut range 2 amount for the currently displayed harvest.
 
JLabel m_jHarvestCutRange3Amt = new JLabel("0")
 Label that displays the cut range 3 amount for the currently displayed harvest.
 
JLabel m_jHarvestCutRange4Amt = new JLabel("0")
 Label that displays the cut range 4 amount for the currently displayed harvest.
 
JLabel m_jMortEpCutRange1Min = new JLabel("0")
 Label that displays the cut range 1 minimum for the currently displayed mortality episode.
 
JLabel m_jMortEpCutRange2Min = new JLabel("0")
 Label that displays the cut range 2 minimum for the currently displayed mortality episode.
 
JLabel m_jMortEpCutRange3Min = new JLabel("0")
 Label that displays the cut range 3 minimum for the currently displayed mortality episode.
 
JLabel m_jMortEpCutRange4Min = new JLabel("0")
 Label that displays the cut range 4 minimum for the currently displayed mortality episode.
 
JLabel m_jMortEpCutRange1Max = new JLabel("0")
 Label that displays the cut range 1 maximum for the currently displayed mortality episode.
 
JLabel m_jMortEpCutRange2Max = new JLabel("0")
 Label that displays the cut range 2 maximum for the currently displayed mortality episode.
 
JLabel m_jMortEpCutRange3Max = new JLabel("0")
 Label that displays the cut range 3 maximum for the currently displayed mortality episode.
 
JLabel m_jMortEpCutRange4Max = new JLabel("0")
 Label that displays the cut range 4 maximum for the currently displayed mortality episode.
 
JLabel m_jMortEpCutRange1Amt = new JLabel("0")
 Label that displays the cut range 1 amount for the currently displayed mortality episode.
 
JLabel m_jMortEpCutRange2Amt = new JLabel("0")
 Label that displays the cut range 2 amount for the currently displayed mortality episode.
 
JLabel m_jMortEpCutRange3Amt = new JLabel("0")
 Label that displays the cut range 3 amount for the currently displayed mortality episode.
 
JLabel m_jMortEpCutRange4Amt = new JLabel("0")
 Label that displays the cut range 4 amount for the currently displayed mortality episode.
 
JLabel m_jHarvestPriorities = new JLabel("")
 Label that displays the priorities.
 
DefaultListModel< String > m_jHarvestSpeciesList = new DefaultListModel<String>()
 List of species for the currently displayed harvest.
 
DefaultListModel< String > m_jMortEpSpeciesList = new DefaultListModel<String>()
 List of species for the currently displayed mortality episode.
 
DefaultListModel< String > m_jHarvestSeedlingMortRate = new DefaultListModel<String>()
 For displaying harvest seed mortality rates.
 
DefaultListModel< String > m_jMortEpSeedlingMortRate = new DefaultListModel<String>()
 For displaying mortality episode seed mortality rates.
 
JPanel m_jChartPanel = new JPanel()
 Panel displaying the chart.
 
Dimension m_jParentSize
 Size of the parent calling window - so we can make sure children fit within this.
 
float m_fLengthHarvestXCells
 Length of harvest cells in the X direction.
 
float m_fLengthHarvestYCells
 Length of harvest cells in the Y direction.
 
float m_fLengthMortEpXCells
 Length of episodic mortality cells in the X direction.
 
float m_fLengthMortEpYCells
 Length of episodic mortality cells in the Y direction.
 
float m_fLengthPlantXCells
 Length of planting cells in the X direction.
 
float m_fLengthPlantYCells
 Length of planting cells in the Y direction.
 
int m_iNumHarvestXCells
 Number of X cells in the Harvest grid.
 
int m_iNumHarvestYCells
 Number of Y cells in the Harvest grid.
 
int m_iNumMortEpisodeXCells
 Number of X cells in the Mortality Episode grid.
 
int m_iNumMortEpisodeYCells
 Number of Y cells in the Mortality Episode grid.
 
int m_iNumPlantXCells
 Number of X cells in the Planting grid.
 
int m_iNumPlantYCells
 Number of Y cells in the Planting grid.
 
int m_iPlotLengthX
 Length of the plot in the X direction, in meters.
 
int m_iPlotLengthY
 Length of the plot in the Y direction, in meters.
 
int m_iNumSpecies
 Number of species.
 

Private Member Functions

JDialog sizeChildWindow (JDialog jChildWindow)
 Sizes a child window to fit within the bounds of this window.
 

Private Attributes

XYZSimpleDataset m_oHarvestDataset
 Dataset for displaying harvest events - controls which cells show up which color.
 
XYZSimpleDataset m_oMortEpisodeDataset
 Dataset for displaying mortality episode events - controls which cells show up which color.
 
XYZSimpleDataset m_oPlantDataset
 Dataset for displaying planting events - controls which cells show up which color.
 
XYSimpleCellRenderer m_oHarvestRenderer = new XYSimpleCellRenderer()
 Renderer for displaying harvest events.
 
XYSimpleCellRenderer m_oMortEpRenderer = new XYSimpleCellRenderer()
 Renderer for displaying episodic mortality events.
 
XYSimpleCellRenderer m_oPlantRenderer = new XYSimpleCellRenderer()
 Renderer for displaying planting events.
 
String m_sHelpID = "windows.episodic_events_window"
 Help ID string.
 

Detailed Description

Displays episodic events and allows for editing.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Cary Institute of Ecosystem Studies

Author
Lora E. Murphy
Version
1.0
Edit history:
---------------—
December 8, 2011: Wiped the slate clean for version 7 (LEM)

Constructor & Destructor Documentation

sortie.gui.EpisodicEventsWindow.EpisodicEventsWindow ( JFrame  oOwner,
DisturbanceBehaviors  oDisturbanceBehaviors,
PlantingBehaviors  oPlantBehaviors 
) throws ModelException

Constructor.

Builds the window.

Parameters
oOwnerOwner window for this dialog.
oDisturbanceBehaviorsDisturbanceBehaviors object to exchange data with.
oPlantBehaviorsPlantingBehaviors object to exchange data with.
Exceptions
ModelExceptionpassing through from called methods.

Member Function Documentation

void sortie.gui.EpisodicEventsWindow.actionPerformed ( ActionEvent  oEvent)

Responds to window events.

Parameters
oEventEvent triggering this call.
void sortie.gui.EpisodicEventsWindow.addFinishedData ( ) throws ModelException
protected

Takes the final data and adds it back to the behavior groups.

This takes the contents of mp_oHarvestData, mp_oMortEpisodeData, and mp_oPlantingData, and puts them back into the parent behavior groups. Then, if there is a set of data for any of the behaviors, it makes sure that they are enabled.

void sortie.gui.EpisodicEventsWindow.deleteHarvest ( ) throws ModelException
protected

Deletes the currently displayed harvest.

If no harvest is displayed (the display number is set to 0), nothing happens. If a harvest is deleted, the next harvest is displayed, or the previous one if it is the last.

Exceptions
ModelExceptionpassed through from called methods.
void sortie.gui.EpisodicEventsWindow.deleteMortalityEpisode ( ) throws ModelException
protected

Deletes the currently displayed mortality episode.

If no episode is displayed (the display number is set to 0), nothing happens. If an episode is deleted, the next episode is displayed, or the previous one if it is the last.

Exceptions
ModelExceptionpassed through from called methods.
void sortie.gui.EpisodicEventsWindow.deletePlanting ( ) throws ModelException
protected

Deletes the currently displayed planting.

If no planting is displayed (the display number is set to 0), nothing happens. If a planting is deleted, the next planting is displayed, or the previous one if it is the last.

Exceptions
ModelExceptionpassed through from called methods.
void sortie.gui.EpisodicEventsWindow.displayHarvest ( HarvestData  oHarvest) throws ModelException
protected

Causes a harvest event to be displayed in the window.

Parameters
oHarvestHarvest to display, or NULL if no harvest is to be displayed.
Exceptions
ModelExceptionpassing through from called methods.
void sortie.gui.EpisodicEventsWindow.displayMortalityEpisode ( HarvestData  oEpisode) throws ModelException
protected

Causes a mortality episode to be displayed in the window.

Parameters
oEpisodeMortality episode to display, or NULL if no episode is to be displayed.
Exceptions
ModelExceptionpassing through from called methods.
void sortie.gui.EpisodicEventsWindow.displayNextHarvest ( ) throws ModelException
protected

Displays the next harvest when the ">>" button is pressed.

If the last harvest is being displayed, then nothing changes.

Exceptions
ModelExceptionPassing through from called methods.
void sortie.gui.EpisodicEventsWindow.displayNextMortalityEpisode ( ) throws ModelException
protected

Displays the next mortality episode when the next button is pressed.

If the last episode is being displayed, then nothing changes.

Exceptions
ModelExceptionPassing through from called methods.
void sortie.gui.EpisodicEventsWindow.displayNextPlanting ( ) throws ModelException
protected

Displays the next planting event when the ">>" button is pressed.

If the last planting is being displayed, then nothing changes.

Exceptions
ModelExceptionPassing through from called methods.
void sortie.gui.EpisodicEventsWindow.displayPlanting ( PlantingData  oPlanting) throws ModelException
protected

Causes a planting event to be displayed in the window.

Planting events are displayed as a transparent texture - this allows harvests to display underneath.

Parameters
oPlantingPlanting to display, or NULL if no planting is to be displayed.
Exceptions
ModelExceptionpassing through from called methods.
void sortie.gui.EpisodicEventsWindow.displayPreviousHarvest ( ) throws ModelException
protected

Displays the next harvest when the previous button is pressed.

If the first harvest is being displayed, then nothing changes.

Exceptions
ModelExceptionPassing through from called methods.
void sortie.gui.EpisodicEventsWindow.displayPreviousMortalityEpisode ( ) throws ModelException
protected

Displays the previous mortality episode when the previous button is pressed.

If the first episode is being displayed, then nothing changes.

Exceptions
ModelExceptionPassing through from called methods.
void sortie.gui.EpisodicEventsWindow.displayPreviousPlanting ( ) throws ModelException
protected

Displays the next plant event when the previous button is pressed.

If the first planting is being displayed, then nothing changes.

Exceptions
ModelExceptionPassing through from called methods.
javax.help.HelpBroker sortie.gui.EpisodicEventsWindow.getHelpBroker ( )

Gets access to the HelpBroker object for benefit of child windows.

Returns
HelpBroker object.
void sortie.gui.EpisodicEventsWindow.getPlotAndGridInfo ( ) throws ModelException
protected

Gets information on the plot and the grids.

Exceptions
ModelExceptionpassing through from called methods.
TreePopulation sortie.gui.EpisodicEventsWindow.getTreePopulation ( )

Gets access to the tree population for benefit of child windows.

Returns
TreePopulation object.
void sortie.gui.EpisodicEventsWindow.makeGUI ( ) throws ModelException
protected

Draws the window.

Exceptions
ModelExceptionpassing through from called methods.
void sortie.gui.EpisodicEventsWindow.makeTreeDatasetAndRenderer ( ) throws ModelException
protected

Create the dataset and renderer for the trees.

void sortie.gui.EpisodicEventsWindow.setUpCharting ( ) throws ModelException
protected

Sets up the chart and displays any trees.

Exceptions
ModelExceptionshould not be thrown.
JDialog sortie.gui.EpisodicEventsWindow.sizeChildWindow ( JDialog  jChildWindow)
private

Sizes a child window to fit within the bounds of this window.

Parameters
jChildWindowJDialog The window to size.
Returns
JDialog The sized window.
void sortie.gui.EpisodicEventsWindow.stateChanged ( ChangeEvent  e)

Fired when the tabbed pane tab is changed.

This will determine which tab is selected and make sure that the current event on that tab is displayed on the chart.

Parameters
eChangeEvent object.

Member Data Documentation

final Color sortie.gui.EpisodicEventsWindow.HARVEST_COLOR = new Color(255, 100, 255)
static

Color for displaying harvests.

float sortie.gui.EpisodicEventsWindow.m_fLengthHarvestXCells
protected

Length of harvest cells in the X direction.

float sortie.gui.EpisodicEventsWindow.m_fLengthHarvestYCells
protected

Length of harvest cells in the Y direction.

float sortie.gui.EpisodicEventsWindow.m_fLengthMortEpXCells
protected

Length of episodic mortality cells in the X direction.

float sortie.gui.EpisodicEventsWindow.m_fLengthMortEpYCells
protected

Length of episodic mortality cells in the Y direction.

float sortie.gui.EpisodicEventsWindow.m_fLengthPlantXCells
protected

Length of planting cells in the X direction.

float sortie.gui.EpisodicEventsWindow.m_fLengthPlantYCells
protected

Length of planting cells in the Y direction.

int sortie.gui.EpisodicEventsWindow.m_iNumHarvestXCells
protected

Number of X cells in the Harvest grid.

int sortie.gui.EpisodicEventsWindow.m_iNumHarvestYCells
protected

Number of Y cells in the Harvest grid.

int sortie.gui.EpisodicEventsWindow.m_iNumMortEpisodeXCells
protected

Number of X cells in the Mortality Episode grid.

int sortie.gui.EpisodicEventsWindow.m_iNumMortEpisodeYCells
protected

Number of Y cells in the Mortality Episode grid.

int sortie.gui.EpisodicEventsWindow.m_iNumPlantXCells
protected

Number of X cells in the Planting grid.

int sortie.gui.EpisodicEventsWindow.m_iNumPlantYCells
protected

Number of Y cells in the Planting grid.

int sortie.gui.EpisodicEventsWindow.m_iNumSpecies
protected

Number of species.

int sortie.gui.EpisodicEventsWindow.m_iPlotLengthX
protected

Length of the plot in the X direction, in meters.

int sortie.gui.EpisodicEventsWindow.m_iPlotLengthY
protected

Length of the plot in the Y direction, in meters.

JPanel sortie.gui.EpisodicEventsWindow.m_jChartPanel = new JPanel()
protected

Panel displaying the chart.

JLabel sortie.gui.EpisodicEventsWindow.m_jCutTypeLabel = new JLabel("N/A")
protected

Label that displays the cut type for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestCutAmountTypeLabel
protected
Initial value:
= new JLabel(
"N/A")

Label that displays the cut amount type for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestCutRange1Amt = new JLabel("0")
protected

Label that displays the cut range 1 amount for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestCutRange1Max = new JLabel("0")
protected

Label that displays the cut range 1 maximum for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestCutRange1Min = new JLabel("0")
protected

Label that displays the cut range 1 minimum for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestCutRange2Amt = new JLabel("0")
protected

Label that displays the cut range 2 amount for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestCutRange2Max = new JLabel("0")
protected

Label that displays the cut range 2 maximum for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestCutRange2Min = new JLabel("0")
protected

Label that displays the cut range 2 minimum for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestCutRange3Amt = new JLabel("0")
protected

Label that displays the cut range 3 amount for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestCutRange3Max = new JLabel("0")
protected

Label that displays the cut range 3 maximum for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestCutRange3Min = new JLabel("0")
protected

Label that displays the cut range 3 minimum for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestCutRange4Amt = new JLabel("0")
protected

Label that displays the cut range 4 amount for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestCutRange4Max = new JLabel("0")
protected

Label that displays the cut range 4 maximum for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestCutRange4Min = new JLabel("0")
protected

Label that displays the cut range 4 minimum for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestNumber = new JLabel("0")
protected

Label that displays the number of the current harvest event.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestPriorities = new JLabel("")
protected

Label that displays the priorities.

DefaultListModel<String> sortie.gui.EpisodicEventsWindow.m_jHarvestSeedlingMortRate = new DefaultListModel<String>()
protected

For displaying harvest seed mortality rates.

DefaultListModel<String> sortie.gui.EpisodicEventsWindow.m_jHarvestSpeciesList = new DefaultListModel<String>()
protected

List of species for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jHarvestTimestepLabel = new JLabel("N/A")
protected

Label that displays the timestep for the currently displayed harvest.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpCutAmountTypeLabel = new JLabel("N/A")
protected

Label that displays the cut amount type for the currently displayed mortality episode event.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpCutRange1Amt = new JLabel("0")
protected

Label that displays the cut range 1 amount for the currently displayed mortality episode.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpCutRange1Max = new JLabel("0")
protected

Label that displays the cut range 1 maximum for the currently displayed mortality episode.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpCutRange1Min = new JLabel("0")
protected

Label that displays the cut range 1 minimum for the currently displayed mortality episode.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpCutRange2Amt = new JLabel("0")
protected

Label that displays the cut range 2 amount for the currently displayed mortality episode.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpCutRange2Max = new JLabel("0")
protected

Label that displays the cut range 2 maximum for the currently displayed mortality episode.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpCutRange2Min = new JLabel("0")
protected

Label that displays the cut range 2 minimum for the currently displayed mortality episode.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpCutRange3Amt = new JLabel("0")
protected

Label that displays the cut range 3 amount for the currently displayed mortality episode.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpCutRange3Max = new JLabel("0")
protected

Label that displays the cut range 3 maximum for the currently displayed mortality episode.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpCutRange3Min = new JLabel("0")
protected

Label that displays the cut range 3 minimum for the currently displayed mortality episode.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpCutRange4Amt = new JLabel("0")
protected

Label that displays the cut range 4 amount for the currently displayed mortality episode.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpCutRange4Max = new JLabel("0")
protected

Label that displays the cut range 4 maximum for the currently displayed mortality episode.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpCutRange4Min = new JLabel("0")
protected

Label that displays the cut range 4 minimum for the currently displayed mortality episode.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpNumber = new JLabel("0")
protected

Label that displays the number of the current mortality episode event.

DefaultListModel<String> sortie.gui.EpisodicEventsWindow.m_jMortEpSeedlingMortRate = new DefaultListModel<String>()
protected

For displaying mortality episode seed mortality rates.

DefaultListModel<String> sortie.gui.EpisodicEventsWindow.m_jMortEpSpeciesList = new DefaultListModel<String>()
protected

List of species for the currently displayed mortality episode.

JLabel sortie.gui.EpisodicEventsWindow.m_jMortEpTimestepLabel = new JLabel("N/A")
protected

Label that displays the timestep for the currently displayed episodic mortality event.

JLabel sortie.gui.EpisodicEventsWindow.m_jNumHarvestEvents = new JLabel("0")
protected

Label that displays number of harvest events currently defined.

JLabel sortie.gui.EpisodicEventsWindow.m_jNumMortEpEvents = new JLabel("0")
protected

Label that displays number of mortality episodes currently defined.

JLabel sortie.gui.EpisodicEventsWindow.m_jNumPlantingEvents = new JLabel("0")
protected

Label that displays number of planting events currently defined.

Dimension sortie.gui.EpisodicEventsWindow.m_jParentSize
protected

Size of the parent calling window - so we can make sure children fit within this.

JLabel sortie.gui.EpisodicEventsWindow.m_jPlantAmountLabel = new JLabel("Density (#/ha):")
protected

Label that displays the plant amount label for the currently displayed planting.

JLabel sortie.gui.EpisodicEventsWindow.m_jPlantAmountValueLabel = new JLabel("N/A")
protected

Label that displays the plant amount value for the currently displayed planting.

JLabel sortie.gui.EpisodicEventsWindow.m_jPlantNumber = new JLabel("0")
protected

Label that displays the number of the current planting event.

JLabel sortie.gui.EpisodicEventsWindow.m_jPlantSpacingLabel = new JLabel("N/A")
protected

Label that displays the plant spacing for the currently displayed planting.

JLabel sortie.gui.EpisodicEventsWindow.m_jPlantTimestepLabel = new JLabel("N/A")
protected

Label that displays the timestep for the currently displayed planting.

JTabbedPane sortie.gui.EpisodicEventsWindow.m_jTabs = new JTabbedPane()
protected

For displaying harvest, episodic mortality, and planting events.

DisturbanceBehaviors sortie.gui.EpisodicEventsWindow.m_oDisturbanceBehaviors
protected

Copy of the DisturbanceBehaviors object to exchange data with.

XYZSimpleDataset sortie.gui.EpisodicEventsWindow.m_oHarvestDataset
private

Dataset for displaying harvest events - controls which cells show up which color.

XYSimpleCellRenderer sortie.gui.EpisodicEventsWindow.m_oHarvestRenderer = new XYSimpleCellRenderer()
private

Renderer for displaying harvest events.

XYZSimpleDataset sortie.gui.EpisodicEventsWindow.m_oMortEpisodeDataset
private

Dataset for displaying mortality episode events - controls which cells show up which color.

XYSimpleCellRenderer sortie.gui.EpisodicEventsWindow.m_oMortEpRenderer = new XYSimpleCellRenderer()
private

Renderer for displaying episodic mortality events.

PlantingBehaviors sortie.gui.EpisodicEventsWindow.m_oPlantBehaviors
protected

Copy of the PlantingBehaviors object to exchange data with.

XYZSimpleDataset sortie.gui.EpisodicEventsWindow.m_oPlantDataset
private

Dataset for displaying planting events - controls which cells show up which color.

XYSimpleCellRenderer sortie.gui.EpisodicEventsWindow.m_oPlantRenderer = new XYSimpleCellRenderer()
private

Renderer for displaying planting events.

XYPlot sortie.gui.EpisodicEventsWindow.m_oPlot = new XYPlot()
protected

Plot object for rendering events.

DefaultXYZDataset sortie.gui.EpisodicEventsWindow.m_oTreeDataset = new DefaultXYZDataset()
protected

A dataset for trees, one series for each species.

XYTreeRenderer sortie.gui.EpisodicEventsWindow.m_oTreeRenderer
protected

Renderer for displaying the trees along with episodic event data.

String sortie.gui.EpisodicEventsWindow.m_sHelpID = "windows.episodic_events_window"
private

Help ID string.

final Color sortie.gui.EpisodicEventsWindow.MORTALITY_EPISODE_COLOR = new Color(150, 225, 225)
static

Color for displaying mortality episode events.

float [] sortie.gui.EpisodicEventsWindow.mp_fPlantInitialDiam10s
protected

Copy of the planting initial diameter at 10 cm values.

JLabel sortie.gui.EpisodicEventsWindow.mp_jSpeciesPlantInitialDiam10[]
protected

Array of labels displaying the initial diam10 for each species for all plantings.

JLabel sortie.gui.EpisodicEventsWindow.mp_jSpeciesPlantPercentages[]
protected

Array of labels displaying species percentages for the current planting.

Vector<HarvestData> sortie.gui.EpisodicEventsWindow.mp_oHarvestData = new Vector<HarvestData>(0)
protected

Copy of harvest data - copy this from m_oDisturbanceBehaviors, let the user make their updates, then copy this back to m_oDisturbanceBehaviors.

Vector<HarvestData> sortie.gui.EpisodicEventsWindow.mp_oMortEpisodeData = new Vector<HarvestData>(0)
protected

Copy of mortality episode data - copy this from m_oDisturbanceBehaviors, let the user make their updates, then copy this back to m_oDisturbanceBehaviors.

Vector<PlantingData> sortie.gui.EpisodicEventsWindow.mp_oPlantingData = new Vector<PlantingData>(0)
protected

Copy of planting data - copy this from m_oPlantBehaviors, let the user make their updates, then copy this back to m_oPlantBehaviors.

final Color sortie.gui.EpisodicEventsWindow.PLANT_COLOR = new Color(255, 255, 100)
static

Color for displaying plantings.


The documentation for this class was generated from the following file: