|
| GLIMap (GUIManager oManager, BehaviorTypeBase oParent, String sDescriptor, String sParFileTag, String sXMLRootString) throws ModelException |
| Constructor.
|
|
void | validateSubData (TreePopulation oPop) throws ModelException |
| Validates the data.
|
|
| GLIBase (GUIManager oManager, BehaviorTypeBase oParent, String sDescriptor, String sParFileTag, String sXMLRootString, String sHelpFileString) throws ModelException |
| Constructor.
|
|
boolean | isHookedBehavior () |
|
void | unhook () |
| Unhooks the behavior if necessary.
|
|
void | validateData (TreePopulation oPop) throws ModelException |
| Validates the data.
|
|
BehaviorParameterDisplay | formatDataForDisplay (TreePopulation oPop) |
| Overridden to not include general light parameters.
|
|
void | writeXML (BufferedWriter jOut, TreePopulation oPop) throws ModelException |
| Overridden to write general light parameters only if hooked.
|
|
BehaviorParameterDisplay | formatGeneralLightDataForDisplay (TreePopulation oPop) |
| Formats the parameter table for general light.
|
|
ModelVector | getLightTransmissionCoefficient () |
|
GUIManager | getGUIManager () |
|
| Behavior (GUIManager oManager, BehaviorTypeBase oParent, String sDescriptor, String sParFileTag, String sXMLRootString, String sHelpFileString) |
| Constructor.
|
|
int | getNumberOfDataObjects () |
| Gets the number of managed data objects.
|
|
ModelData | getDataObject (int iInd) |
| Gets the managed data object at a particular index.
|
|
void | validate () throws ModelException |
| Behavior performs an internal check to make sure its settings are consistent and logical.
|
|
void | setListPosition (int iListPosition) |
| Sets the behavior list position.
|
|
int | getListPosition () |
| Gets the behavior list position.
|
|
String | getXMLParametersRoot () |
| Gets the XML parameter root string.
|
|
int | getNumberNewDataMembers () |
|
DataMember | getNewTreeDataMember (int iIndex) throws ModelException |
|
void | setCanApplyTo (int iType, boolean bCanApply) |
| Sets whether this behavior can apply to a given tree type.
|
|
String | getParameterFileBehaviorName () |
| Gets the parameter file name for this behavior.
|
|
double | getVersion () |
| Gets behavior's parameter file version.
|
|
double | getMinimumVersion () |
| Gets behavior's parameter file minimum version.
|
|
String | getDescriptor () |
| Gets the descriptor string.
|
|
void | setDescriptor (String s) |
| Sets the descriptor string.
|
|
int | getNumberOfCombos () |
| Gets the number of species/type combos to which this behavior applies.
|
|
int | getNumberOfGrids () |
| Gets the number of grids to which this behavior applies.
|
|
void | deleteSpeciesTypeCombo (int iIndex) throws ModelException |
| Deletes the SpeciesTypeCombo at the given index.
|
|
void | clearSpeciesTypeCombos () |
| Empties the species/type combo list.
|
|
SpeciesTypeCombo | getSpeciesTypeCombo (int iIndex) throws ModelException |
| Returns the SpeciesTypeCombo at the given index of the species/type combo list.
|
|
Grid | getGrid (int iIndex) throws ModelException |
| Returns the Grid at the given index of the grid applies to list.
|
|
ModelData | getRequiredData (int iIndex) |
| Returns the required data object at a given index.
|
|
int | getNumberOfRequiredDataObjects () |
| Gets the number of required data objects for this behavior.
|
|
void | addSpeciesTypeCombo (SpeciesTypeCombo oCombo) throws ModelException |
| Adds a new species/type combo to the list to which this behavior applies.
|
|
void | addGrid (Grid oGrid) |
| Adds a new Grid to the list to which this behavior applies.
|
|
void | addRequiredData (ModelData oData) |
| Adds a piece of required data to the list.
|
|
boolean[] | getWhichSpeciesUsed (TreePopulation oPop) |
| Returns which species to which this behavior is applied.
|
|
boolean | setVectorValueByXMLTag (String sXMLTag, String sXMLParentTag, Vector< String > p_oData, String[] p_sChildXMLTags, boolean[] p_bAppliesTo, Attributes oParentAttributes, Attributes[] p_oAttributes) throws ModelException |
| Sets a data vector's value.
|
|
void | setVectorValues (ModelVector oData, Float[] p_fValuesToSet, boolean[] p_bAppliesTo) |
| Sets the values for vector variables.
|
|
void | setVectorValues (ModelVector oData, Float[] p_fValuesToSet) |
| Sets the values for vector variables.
|
|
void | setVectorValues (ModelVector oData, Double[] p_fValuesToSet, boolean[] p_bAppliesTo) |
| Sets the values for vector variables.
|
|
void | setVectorValues (ModelVector oData, Double[] p_fValuesToSet) |
| Sets the values for vector variables.
|
|
void | setVectorValues (ModelVector oData, Integer[] p_iValuesToSet, boolean[] p_bAppliesTo) |
| Sets the values for vector variables.
|
|
void | setVectorValues (ModelVector oData, String[] p_sValuesToSet) |
| Sets the values for vector variables.
|
|
void | setVectorValues (ModelVector oData, String[] p_sValuesToSet, boolean[] p_bAppliesTo) |
| Sets the values for vector variables.
|
|
void | setVectorValues (ModelVector oData, Integer[] p_iValuesToSet) |
| Sets the values for vector variables.
|
|
void | setVectorValues (ModelVector p_oData, Vector< String > p_oValuesToSet, boolean[] p_bAppliesTo) throws ModelException |
| Sets the values for vector variables.
|
|
boolean | setSingleValueByXMLTag (String sXMLTag, String sXMLParentTag, Attributes oAttributes, Object oData) throws ModelException |
| Sets a data object's value.
|
|
ModelData | findObjectByXMLTag (String sXMLTag) |
| Finds an object based on its XML tag.
|
|
void | copySpecies (int iSpeciesCopyFrom, int iSpeciesCopyTo) throws ModelException |
| Copies one species to another.
|
|
void | writeXML (BufferedWriter jOut, TreePopulation oPop) throws ModelException |
| Writes the XML data to a parameter file for the behaviors owned by this object.
|
|
void | writeSpeciesSpecificValue (BufferedWriter jOut, ModelVector p_oData, TreePopulation oPop) throws java.io.IOException, ModelException |
| Writes a set of species-specific float values to a parameter file.
|
|
void | writeSpeciesSpecificValue (BufferedWriter jOut, ModelVector p_oData, TreePopulation oPop, boolean[] p_bFlags) throws java.io.IOException, ModelException |
| Writes a set of species-specific values to a parameter file for a certain subset of species.
|
|
void | readXMLParentTag (String sXMLTag, Attributes oAttributes) throws ModelException |
| Accepts an XML parent tag (empty, no data) from the parser.
|
|
void | changeOfSpeciesName (String sOldSpecies, String sNewSpecies) |
| Performs any necessary tasks associated with changing the name of a species.
|
|
void | changeOfSpecies (int iOldNumSpecies, int[] p_iIndexer, String[] p_sNewSpecies) throws ModelException |
| Triggered when there is a change in the species list.
|
|
boolean | getAutoDisplayParameters () |
| Gets whether to auto-display this object's parameters.
|
|
ModelData | findObjectByDescriptor (String sDescriptor) |
| Finds an object based on its descriptor.
|
|
void | writeBehaviorNode (BufferedWriter out, TreePopulation oPop) throws ModelException |
| Writes behavior tags to the parameter file.
|
|
BehaviorParameterDisplay | formatDataForDisplay (TreePopulation oPop) |
| Formats data for display in a set of JTables.
|
|
void | readDataFromDisplay (Vector< TableData > p_oData, TreePopulation oPop) throws ModelException |
| Reads in data from the parameter display window.
|
|
boolean | canBeDuplicated () |
| Whether or not this behavior can be duplicated in the run.
|
|
boolean | canBeEditedAutomatically () |
| Whether or not this behavior can be edited with the automatic parameter retrieval and editing tools.
|
|
void | endOfParameterFileRead () |
| Called at the end of the parameter file read process.
|
|
void | changeOfPlotResolution (float fOldX, float fOldY, float fNewX, float fNewY) throws ModelException |
| Performs any tasks associated with a change of plot resolution.
|
|
Corresponds to the clGLIMap class.
- Author
- lora