Click or drag to resize

IntegerAndComboBoxController Class

Controller for a combined integer editor and combo box view.
Inheritance Hierarchy
SystemObject
  Altaxo.Gui.CommonIntegerAndComboBoxController

Namespace: Altaxo.Gui.Common
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class IntegerAndComboBoxController : IMVCAController, 
	IMVCController, IDisposable, IApplyController

The IntegerAndComboBoxController type exposes the following members.

Constructors
 NameDescription
Public methodIntegerAndComboBoxController Initializes a new instance of the IntegerAndComboBoxController class.
Top
Properties
 NameDescription
Public propertyIntegerValue Gets the selected integer value.
Public propertyModelObject Gets the model (document) that this controller manages.
Public propertySelectedItem Gets the selected combo box item.
Public propertyViewObject Gets or sets the GUI element that shows the model to the user.
Top
Methods
 NameDescription
Public methodApply Called when the user input has to be applied to the document being controlled. Returns if apply is successful.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEhView_ComboBoxSelectionChanged Handles changes of the combo box selection in the view.
Public methodEhView_IntegerChanged Handles changes of the integer value in the view.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitialize Initializes the controller and, if available, its view.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRevert Try to revert changes to the model, i.e. restores the original state of the model.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_comboBoxItems The combo-box items.
Protected field_comboBoxLabelText The label text for the combo box.
Protected field_integerLabelText The label text for the integer input.
Protected field_integerMaximum The maximum integer value.
Protected field_integerMinimum The minimum integer value.
Protected field_integerValue The current integer value.
Protected field_selectedItem The selected combo-box item.
Protected field_view The attached view.
Top
See Also