Inheritance diagram for javawrapper::HarvestEdit:
Public Member Functions | |
HarvestEdit (EpisodicEventsWindow oWindow) throws ModelException | |
Constructor. | |
HarvestEdit (EpisodicEventsWindow oWindow, HarvestData oToDisplay) throws ModelException | |
Constructor that displays a harvest event to edit. | |
void | actionPerformed (ActionEvent oEvent) |
Responds to window events. | |
Protected Member Functions | |
void | MakeGUI () |
Makes the GUI. | |
void | AddNewHarvest () throws ModelException |
Puts the new harvest into DisturbanceWindow. | |
Protected Attributes | |
JCheckBox[] | mp_jSpeciesChex |
List of checkboxes, one for each species, for which species to apply the harvest to. | |
JTextField | m_jTimestepEdit = new JTextField(" ") |
Edit box where timestep is entered. | |
JTextField | m_jCutRange1MinDBH = new JTextField() |
Edit box where the cut range 1 minimum DBH is entered. | |
JTextField | m_jCutRange2MinDBH = new JTextField() |
Edit box where the cut range 2 minimum DBH is entered. | |
JTextField | m_jCutRange3MinDBH = new JTextField() |
Edit box where the cut range 3 minimum DBH is entered. | |
JTextField | m_jCutRange4MinDBH = new JTextField() |
Edit box where the cut range 4 minimum DBH is entered. | |
JTextField | m_jCutRange1MaxDBH = new JTextField() |
Edit box where the cut range 1 maximum DBH is entered. | |
JTextField | m_jCutRange2MaxDBH = new JTextField() |
Edit box where the cut range 2 maximum DBH is entered. | |
JTextField | m_jCutRange3MaxDBH = new JTextField() |
Edit box where the cut range 3 maximum DBH is entered. | |
JTextField | m_jCutRange4MaxDBH = new JTextField() |
Edit box where the cut range 4 maximum DBH is entered. | |
JTextField | m_jCutRange1Amt = new JTextField() |
Edit box where the cut range 1 cut amount is entered. | |
JTextField | m_jCutRange2Amt = new JTextField() |
Edit box where the cut range 2 cut amount is entered. | |
JTextField | m_jCutRange3Amt = new JTextField() |
Edit box where the cut range 3 cut amount is entered. | |
JTextField | m_jCutRange4Amt = new JTextField() |
Edit box where the cut range 4 cut amount is entered. | |
JRadioButton | m_jPartialCutButton = new JRadioButton("Partial cut") |
Radio button for partial cut. | |
JRadioButton | m_jGapCutButton = new JRadioButton("Gap cut") |
Radio button for gap cut. | |
JRadioButton | m_jClearCutButton = new JRadioButton("Clear cut") |
Radio button for clear cut. | |
JRadioButton | m_jPercentDensityButton |
Radio button for percent of density. | |
JRadioButton | m_jAbsDensityButton |
Radio button for absolute density. | |
JRadioButton | m_jPercentBAButton |
Radio button for percent of basal area. | |
JRadioButton | m_jAbsBAButton |
Radio button for absolute basal area. | |
int | m_iHarvestIndex = -1 |
This is where our new harvest event goes. |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
javawrapper::HarvestEdit::HarvestEdit | ( | EpisodicEventsWindow | oWindow | ) | throws ModelException [inline] |
Constructor.
Creates the window.
oWindow | Object to exchange harvest data with. |
ModelException | If the window cannot be set up correctly. |
javawrapper::HarvestEdit::HarvestEdit | ( | EpisodicEventsWindow | oWindow, | |
HarvestData | oToDisplay | |||
) | throws ModelException [inline] |
Constructor that displays a harvest event to edit.
oWindow | Object to exchange harvest data with. | |
oToDisplay | Harvest event to display for editing. |
ModelException | If the window cannot be set up correctly. |
void javawrapper::HarvestEdit::MakeGUI | ( | ) | [inline, protected] |
Makes the GUI.
This draws all the window components and places them appropriately.
void javawrapper::HarvestEdit::AddNewHarvest | ( | ) | throws ModelException [inline, protected] |
Puts the new harvest into DisturbanceWindow.
ModelException | if any of the values cannot be translated into numbers, or if the new HarvestData object throws an error during its validation. |
void javawrapper::HarvestEdit::actionPerformed | ( | ActionEvent | oEvent | ) | [inline] |
Responds to window events.
oEvent | Event triggering this call. |
int javawrapper::HarvestEdit::m_iHarvestIndex = -1 [protected] |
This is where our new harvest event goes.
In the case of an edited event, this will make sure that it is inserted where it used to be.