Public Member Functions | |
| Subplot (String sName) | |
| Constructor. | |
| void | AddCell (int iX, int iY, Plot oPlot) throws ModelException |
| Adds a grid cell to this subplot. | |
| void | AddCell (Cell oCell) |
| Adds a grid cell to this subplot. | |
| int | GetNumberOfCells () |
| Gets the number of cells in this subplot. | |
| String | GetSubplotName () |
| Gets the subplot's name. | |
| Cell | GetCell (int iIndex) |
| Gets the cell at a particular index. | |
| void | RemoveCell (int iIndex) |
| Removes a cell from the harvest cut range's area. | |
Private Attributes | |
| String | m_sName |
| Subplot name. | |
| Vector | mp_oCells |
| List of cells that make up the subplot. | |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
| javawrapper.Subplot.Subplot | ( | String | sName | ) |
Constructor.
| sName | Name of the subplot |
| void javawrapper.Subplot.AddCell | ( | int | iX, | |
| int | iY, | |||
| Plot | oPlot | |||
| ) | throws ModelException |
Adds a grid cell to this subplot.
If it is a duplicate, it is not added.
| iX | X grid cell coordinate | |
| iY | Y grid cell coordinate | |
| oPlot | Plot object |
| ModelException | if the grid cell coordinate is invalid |
| void javawrapper.Subplot.AddCell | ( | Cell | oCell | ) |
Adds a grid cell to this subplot.
If it is a duplicate, it is not added.
| oCell | Cell to add. |
| int javawrapper.Subplot.GetNumberOfCells | ( | ) |
Gets the number of cells in this subplot.
| String javawrapper.Subplot.GetSubplotName | ( | ) |
Gets the subplot's name.
| Cell javawrapper.Subplot.GetCell | ( | int | iIndex | ) |
Gets the cell at a particular index.
If the index is invalid, returns null.
| iIndex | Index of the cell. |
| void javawrapper.Subplot.RemoveCell | ( | int | iIndex | ) |
Removes a cell from the harvest cut range's area.
| iIndex | int Cell index. Invalid values are ignored. |
String javawrapper.Subplot.m_sName [private] |
Subplot name.
Vector javawrapper.Subplot.mp_oCells [private] |
List of cells that make up the subplot.
1.5.2