| SORTIE Java Interface
    1
    | 
Dialog allowing the user to set up basic tree information. More...
 
  
 | Classes | |
| class | CopySpeciesEditor | 
| This class creates an interface for copying species.  More... | |
| Public Member Functions | |
| TreeSpeciesSetup (JFrame jParent, TreePopulation oPop) | |
| Constructor.  More... | |
| void | actionPerformed (ActionEvent oEvent) | 
| Controls actions for this window.  More... | |
| Protected Member Functions | |
| void | addSpecies () | 
| Performs a species add in response to the Add button click.  More... | |
| void | removeSpecies () | 
| Removes a species.  More... | |
| void | renameSpecies () | 
| Puts a species to rename in the list of renamed species, and updates the species list.  More... | |
| int | updateTreePopulation () throws ModelException | 
| Updates the TreePopulation object with the accumulated changes.  More... | |
| Protected Attributes | |
| TreePopulation | m_oPop | 
| TreePopulation object that data changes will be communicated to.  More... | |
| DefaultListModel< String > | m_jSpeciesListModel | 
| List model for species.  More... | |
| JList< String > | m_jSpeciesList | 
| List displaying the species.  More... | |
| ArrayList< RenamePair > | mp_oRenameSpecies = new ArrayList<RenamePair>(0) | 
| Vector of RenamePair objects, one for each species the user has asked to rename.  More... | |
| ArrayList< RenamePair > | mp_oCopySpecies = new ArrayList<RenamePair>(0) | 
| Vector of RenamePair objects, one for each species the user has asked to copy.  More... | |
| JTextField | m_jNewSpecies | 
| Field for entering a new species name.  More... | |
| Private Member Functions | |
| void | moveUp () | 
| Moves selected species up.  More... | |
| void | moveDown () | 
| Moves selected species down.  More... | |
| Private Attributes | |
| String | m_sHelpID = "windows.edit_species_list_window" | 
| Help ID string.  More... | |
Dialog allowing the user to set up basic tree information.
This includes the species list and initial density size classes.
Copyright: Copyright (c) Charles D. Canham 2003
Company: Cary Institute of Ecosystem Studies
Edit history: 
---------------— 
April 28, 2004: Submitted in beta version (LEM) 
June 21, 2004: Added support to write tree maps as tab-delimited text (LEM) 
November 3, 2005: Added a "Rename" button for species (LEM) 
January 11, 2007: Added a "Copy" button for species (LEM) 
February 4, 2008: Updated to conform to Java 6 compliance (LEM) 
| sortie.gui.TreeSpeciesSetup.TreeSpeciesSetup | ( | JFrame | jParent, | 
| TreePopulation | oPop | ||
| ) | 
Constructor.
Constructs and displays the GUI.
| jParent | Parent window in which to display this dialog. | 
| oPop | TreePopulation object. | 
| void sortie.gui.TreeSpeciesSetup.actionPerformed | ( | ActionEvent | oEvent | ) | 
Controls actions for this window.
| oEvent | ActionEvent. | 
| 
 | protected | 
Performs a species add in response to the Add button click.
| 
 | private | 
Moves selected species down.
| 
 | private | 
Moves selected species up.
| 
 | protected | 
Removes a species.
This verifiies the remove operation. Then, if valid, removes the species. This will also make sure that any rename or copy pairs featuring the removed species are also removed.
| 
 | protected | 
Puts a species to rename in the list of renamed species, and updates the species list.
| 
 | protected | 
Updates the TreePopulation object with the accumulated changes.
| ModelException | if there are no species present. | 
| 
 | protected | 
Field for entering a new species name.
| 
 | protected | 
List displaying the species.
| 
 | protected | 
List model for species.
| 
 | protected | 
TreePopulation object that data changes will be communicated to.
| 
 | private | 
Help ID string.
| 
 | protected | 
Vector of RenamePair objects, one for each species the user has asked to copy.
| 
 | protected | 
Vector of RenamePair objects, one for each species the user has asked to rename.
 1.8.13
 1.8.13