SORTIE Java Interface  1
Public Member Functions | Private Attributes | List of all members
sortie.data.simpletypes.ComboDisplay Class Reference

Combines a text description of species/type combos with the actual data, for display in lists. More...

Public Member Functions

 ComboDisplay (TreePopulation oPop, int iSpecies, int iType)
 Constructor. More...
 
String toString ()
 Overridden so that this can be displayed in JLists. More...
 
int getSpecies ()
 Gets the species. More...
 
int getType ()
 Gets the type. More...
 

Private Attributes

String m_sDescriptor
 The value to display to users. More...
 
int m_iSpecies
 Combo species. More...
 

Detailed Description

Combines a text description of species/type combos with the actual data, for display in lists.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Cary Institute of Ecosystem Studies

Author
Lora E. Murphy
Version
1.0


Edit history:
---------------—
April 28, 2004: Submitted in beta version (LEM)

Constructor & Destructor Documentation

◆ ComboDisplay()

sortie.data.simpletypes.ComboDisplay.ComboDisplay ( TreePopulation  oPop,
int  iSpecies,
int  iType 
)

Constructor.

Formats a display string.

Parameters
oPopTree population.
iSpeciesSpecies for this combo.
iTypeType for this combo.

Member Function Documentation

◆ getSpecies()

int sortie.data.simpletypes.ComboDisplay.getSpecies ( )

Gets the species.

Returns
The species number.

◆ getType()

int sortie.data.simpletypes.ComboDisplay.getType ( )

Gets the type.

Returns
The type number.

◆ toString()

String sortie.data.simpletypes.ComboDisplay.toString ( )

Overridden so that this can be displayed in JLists.

Returns
String description

Member Data Documentation

◆ m_iSpecies

int sortie.data.simpletypes.ComboDisplay.m_iSpecies
private

Combo species.

◆ m_sDescriptor

String sortie.data.simpletypes.ComboDisplay.m_sDescriptor
private

The value to display to users.


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