SORTIE Java Interface  1
Public Member Functions | List of all members
sortie.data.funcgroups.GrowthBehaviors Class Reference

Controls the data relating to growth behaviors. More...

Inheritance diagram for sortie.data.funcgroups.GrowthBehaviors:
sortie.data.funcgroups.BehaviorTypeBase

Public Member Functions

 GrowthBehaviors (GUIManager oManager) throws ModelException
 Constructor. More...
 
Behavior createBehaviorFromParameterFileTag (String sParameterFileTag) throws ModelException
 Override to catch old-style NCI. More...
 
Behavior getBehaviorByXMLParametersParentTag (String sXMLTag, int iPos)
 Override to catch old-style NCI. More...
 
- Public Member Functions inherited from sortie.data.funcgroups.BehaviorTypeBase
 BehaviorTypeBase (GUIManager oManager, String sName)
 Constructor. More...
 
boolean anyBehaviorsEnabled ()
 Determines if any of the child behaviors are currently enabled. More...
 
void validateData (TreePopulation oPop) throws ModelException
 Implements data checking. More...
 
Behavior createBehaviorFromParameterFileTag (String sParameterFileTag) throws ModelException
 Creates a new behavior from an XML parameter file name tag and inserts it into the child behaviors list. More...
 
void sortBehaviors ()
 Sorts the behaviors by list position. More...
 
boolean canBehaviorBeDuplicated (String sParameterFileTag) throws ModelException
 Whether or not a behavior of a certain class can be duplicated in a run. More...
 
boolean doesBehaviorNeedTrees (String sParameterFileTag) throws ModelException
 Whether or not a behavior of a certain class can be duplicated in a run. More...
 
ArrayList< BehaviorInstantiatorgetAllPossibleBehaviors ()
 Gets all possible behaviors. More...
 
Behavior getBehaviorByXMLParametersParentTag (String sXMLTag, int iPos)
 Finds a behavior by its XML parameters parent tag. More...
 
String getDescriptor (String sParameterFileTag)
 Gets the descriptor for a behavior based on its parameter file tag. More...
 
Grid [] getEnabledGridObjects () throws ModelException
 Gets the list of grid objects which the currently enabled behaviors would be expected to create - and thus would be available to output, etc. More...
 
ArrayList< BehaviorgetAllInstantiatedBehaviors ()
 Get the list of child behaviors currently selected for the run. More...
 
void writeBehaviorNodes (BufferedWriter out, TreePopulation oPop) throws ModelException
 Writes behavior tags to the parameter file. More...
 
ArrayList< BehaviorgetBehaviorByDisplayName (String sDescriptor)
 Convenience method for getting an instantiated behavior. More...
 
ArrayList< BehaviorgetBehaviorByParameterFileTag (String sParameterFileTag)
 Finds an instantiated behavior by its XML parameter file tag. More...
 
void changeOfSpecies (int iOldNumSpecies, int[] p_iIndexer, String[] p_sNewSpecies) throws ModelException
 Triggered when there is a change in the species list. More...
 
void copySpecies (int iSpeciesCopyFrom, int iSpeciesCopyTo) throws ModelException
 Copies one species to another. More...
 
void endOfParameterFileRead ()
 Allows child behaviors to do end-of-parameter-file tasks. More...
 
void changeOfSpeciesName (String sOldSpecies, String sNewSpecies) throws ModelException
 Performs any necessary tasks associated with changing the name of a species. More...
 
GUIManager getGUIManager ()
 
void writeXML (BufferedWriter jOut, TreePopulation oPop) throws ModelException
 Writes the XML data to a parameter file for the behaviors owned by this object. More...
 
void removeBehavior (Behavior oBeh)
 Removes a behavior from the instantiated list. More...
 
String getName ()
 Returns the user-acceptable name for this object. More...
 
void changeOfPlotResolution (float fOldX, float fOldY, float fNewX, float fNewY) throws ModelException
 Allows instantiated behaviors to perform any tasks associated with a change of plot resolution. More...
 
void doSetup (TreePopulation oPop) throws ModelException
 Does any needed setup once the tree population object has data. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from sortie.data.funcgroups.BehaviorTypeBase
static boolean [] mergeBooleans (boolean[] p_oMergeOne, boolean[] p_oMergeTwo)
 Merges two boolean arrays and returns an array where there is a true in each array bucket where EITHER array is true. More...
 
- Protected Attributes inherited from sortie.data.funcgroups.BehaviorTypeBase
ArrayList< Behaviormp_oInstantiatedBehaviors
 List of child behaviors currently selected for the run. More...
 
ArrayList< BehaviorInstantiatormp_oAvailableBehaviors
 List of possible behaviors that can be created. More...
 
GUIManager m_oManager
 GUIManager object. More...
 
String m_sName
 User-consumable name for this object. More...
 

Detailed Description

Controls the data relating to growth behaviors.

Copyright: Copyright (c) 2011 Charles D. Canham

Company: Cary Institute of Ecosystem Studies

Author
Lora E. Murphy
Version
1.0


Edit history:
---------------—
December 8, 2011: Wiped the slate clean for version 7 (LEM)

Constructor & Destructor Documentation

◆ GrowthBehaviors()

sortie.data.funcgroups.GrowthBehaviors.GrowthBehaviors ( GUIManager  oManager) throws ModelException

Constructor.

Parameters
oManagerGUIManager object.
Exceptions
ModelExceptionPassed through from called functions. Shouldn't ever be thrown.

Member Function Documentation

◆ createBehaviorFromParameterFileTag()

Behavior sortie.data.funcgroups.GrowthBehaviors.createBehaviorFromParameterFileTag ( String  sParameterFileTag) throws ModelException

Override to catch old-style NCI.

◆ getBehaviorByXMLParametersParentTag()

Behavior sortie.data.funcgroups.GrowthBehaviors.getBehaviorByXMLParametersParentTag ( String  sXMLTag,
int  iPos 
)

Override to catch old-style NCI.


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