Fit |
public class FitFunctionScriptController : IFitFunctionScriptViewEventSink, IScriptController, IMVCANController, IMVCAController, IMVCController, IDisposable, IApplyController
The FitFunctionScriptController type exposes the following members.
| Name | Description | |
|---|---|---|
| FitFunctionScriptController | Initializes a new instance of the FitFunctionScriptController class. | |
| FitFunctionScriptController(IFitFunctionScriptText) | Initializes a new instance of the FitFunctionScriptController class. |
| Name | Description | |
|---|---|---|
| ModelObject | Gets the model (document) that this controller manages. | |
| UseDocumentCopy | Sets whether or not a copy of the document is used. If set to true, a copy of the document is used, so if the controller is not applied, all changes can be reverted. If set to false, no copy must be made. The document is directly changed by the controller, and changes cannot be reverted. Use the last option if a controller higher in the hierarchy has already made a copy of the document. | |
| View | Gets or sets the attached view. | |
| ViewObject | Gets or sets the GUI element that shows the model to the user. |
| Name | Description | |
|---|---|---|
| Apply | Called when the user input has to be applied to the document being controlled. Returns if apply is successful. | |
| Cancel | Cancels the current operation. | |
| Compile | Compiles the current script. | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
| EhView_CommitChanges | Commits the pending view changes. | |
| EhView_DependentVariableTextChanged | Handles changes to the dependent-variable text. | |
| EhView_IndependentVariableTextChanged | Handles changes to the independent-variable text. | |
| EhView_NumberOfParameterChanged | Handles changes to the number of parameters. | |
| EhView_RevertChanges | Reverts the pending view changes. | |
| EhView_UserDefinedParameterCheckChanged | Handles changes to the user-defined-parameter setting. | |
| EhView_UserDefinedParameterTextChanged | Handles changes to the user-defined parameter text. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Execute | Executes the script. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetDependentVariablesAsLine | Gets the dependent-variable names as a comma-separated string. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetIndependentVariablesAsLine | Gets the independent-variable names as a comma-separated string. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| HasExecutionErrors | Determines whether execution errors are present. | |
| InitializeDocument | Initializes the controller with the document. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Revert | Tries to revert changes to the model, i.e. restores the original state of the model. | |
| SetElements | Initializes and updates view elements from the current temporary model. | |
| SetText | Sets the script text in the view. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Update | Updates the model with the current script text. |
| Name | Description | |
|---|---|---|
| _scriptController | Holds the embedded script controller. | |
| m_Script | Holds the original script document. | |
| m_ScriptExecution | Holds the script execution handler. | |
| m_TempScript | Holds the temporary editable script document. | |
| m_View | Holds the attached view. |