Allows management of tree maps.
More...
|
| void | restoreOriginalView () |
| | Restores the original view of the tree map with the scale at which it was first displayed.
|
| |
| void | scroll (int iDirection) throws ModelException |
| | Scrolls the view 10% in the specified direction.
|
| |
| void | writeTreeMap () throws ModelException |
| | Writes the tree map trees to a tab-delimited text file.
|
| |
| void | refreshChart () throws ModelException |
| | Refreshes the chart to show the data currently held in the dataset.
|
| |
| JPanel | makeTreeLegendPanel () |
| | Creates a tree legend panel.
|
| |
|
| JTextField | m_jDBHScale = new JTextField("") |
| | Field displaying the DBH scale factor.
|
| |
| JTextField | m_jMinDbh = new JTextField("") |
| | Field displaying the minimum DBH.
|
| |
| String | m_sHelpID = "windows.edit_manage_tree_maps_window" |
| | Help ID string.
|
| |
| float | m_fMinDbh |
| | Minimum dbh to draw.
|
| |
| float | m_fDBHScale = (float)1.0 |
| | DBH scale factor.
|
| |
| float | m_fXPlotLength |
| | X plot length in meters.
|
| |
| float | m_fYPlotLength |
| | Y plot length in meters.
|
| |
|
| static final int | LEFT = 1 |
| | Scrolling left.
|
| |
| static final int | RIGHT = 2 |
| | Scrolling right.
|
| |
| static final int | UP = 3 |
| | Scrolling up.
|
| |
| static final int | DOWN = 4 |
| | Scrolling down.
|
| |
Allows management of tree maps.
- Author
- Lora Murphy
Edit history:
---------------—
February 27, 2008: Created by breaking off of a single tree setup window (LEM)
March 5, 2008: Added tree map display (LEM)
Constructor.
Constructs and displays the GUI.
- Parameters
-
| jParent | Parent window in which to display this dialog. |
| oPop | TreePopulation object. |
| void sortie.gui.ManageTreeMap.actionPerformed |
( |
ActionEvent |
e | ) |
|
Controls actions for this window.
- Parameters
-
| DefaultXYZDataset sortie.gui.ManageTreeMap.createTreeMapDataset |
( |
| ) |
throws ModelException |
|
private |
Creates the tree map dataset.
| JPanel sortie.gui.ManageTreeMap.makeTreeLegendPanel |
( |
| ) |
|
|
protected |
Creates a tree legend panel.
- Returns
- JPanel Panel with tree legend on it.
Refreshes the chart to show the data currently held in the dataset.
- Exceptions
-
| ModelException | if the chart cannot be created. |
| void sortie.gui.ManageTreeMap.restoreOriginalView |
( |
| ) |
|
|
protected |
Restores the original view of the tree map with the scale at which it was first displayed.
| void sortie.gui.ManageTreeMap.scroll |
( |
int |
iDirection | ) |
throws ModelException |
|
protected |
Scrolls the view 10% in the specified direction.
If the view is full-size nothing happens. If the view is already scrolled all the way over in the specified direction nothing happens.
- Parameters
-
| iDirection | int Direction in which to scroll. |
Writes the tree map trees to a tab-delimited text file.
It first displays to the user a dialog for specifying the file name. It then organizes a 2-D array of strings for all possible tree data members that have been defined. Each tree contributes its applicable values to the table. Then the table is written out.
- Exceptions
-
| ModelException | if the file cannot be written. |
| final int sortie.gui.ManageTreeMap.DOWN = 4 |
|
staticprivate |
| final int sortie.gui.ManageTreeMap.LEFT = 1 |
|
staticprivate |
| float sortie.gui.ManageTreeMap.m_fDBHScale = (float)1.0 |
|
private |
| float sortie.gui.ManageTreeMap.m_fMinDbh |
|
private |
| float sortie.gui.ManageTreeMap.m_fXPlotLength |
|
private |
| float sortie.gui.ManageTreeMap.m_fYPlotLength |
|
private |
| JPanel sortie.gui.ManageTreeMap.m_jChartPanel = new JPanel() |
|
protected |
Tree dataset.
Panel container for the chart
| JButton sortie.gui.ManageTreeMap.m_jClearTreeMap |
|
protected |
Button for clearing tree map trees.
| JTextField sortie.gui.ManageTreeMap.m_jDBHScale = new JTextField("") |
|
private |
Field displaying the DBH scale factor.
| JTextField sortie.gui.ManageTreeMap.m_jMinDbh = new JTextField("") |
|
private |
Field displaying the minimum DBH.
| JButton sortie.gui.ManageTreeMap.m_jWriteTreeMap |
|
protected |
Button for writing a tree map as tab-delimited text.
TreePopulation object that data changes will be communicated to.
| String sortie.gui.ManageTreeMap.m_sHelpID = "windows.edit_manage_tree_maps_window" |
|
private |
| Color [] sortie.gui.ManageTreeMap.mp_jSpeciesColors |
|
protected |
| final int sortie.gui.ManageTreeMap.RIGHT = 2 |
|
staticprivate |
| final int sortie.gui.ManageTreeMap.UP = 3 |
|
staticprivate |
The documentation for this class was generated from the following file: