C# Class Habanero.Faces.Base.ExtendedComboBoxMapper

The mapper for IExtendedComboBox.
Inheritance: ControlMapper
Afficher le fichier Open project: Chillisoft/habanero.faces Class Usage Examples

Méthodes publiques

Méthode Description
ApplyChangesToBusinessObject ( ) : void

Updates the properties on the represented business object

ExtendedComboBoxMapper ( IExtendedComboBox ctl, string propName, bool isReadOnly, IControlFactory controlFactory ) : System

Constructs the mapper for IExtendedComboBox.

ShowPopupForm ( ) : void

Shows the popup form that is displayed when the button is clicked. This popup form is used to edit the BusinessObjects that fill the combobox.

UpdateControlValueFromBusinessObject ( ) : void

Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject

Méthodes protégées

Méthode Description
GetIBOGridAndEditorControl ( ) : IBOGridAndEditorControl

The IBOGridAndEditorControl that is being popped up by this mapper.

HandlePopUpFormClosedEvent ( object sender, EventArgs e ) : void

Handles the Closing of the Popup form. By default this saves the Business Object that is currently selectedin the Popup (if there is one) Reloads the Combo Box using ReloadLookupValues. and Sets the Currently selected Business Object as the selected Item for the ComboBox

InternalUpdateControlValueFromBo ( ) : void

Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject

ReloadLookupValues ( ) : void

Reloads the ComboBox.

Private Methods

Méthode Description
CheckBoNotNull ( ) : void
GetCollection ( Type classType ) : IBusinessObjectCollection
GetLookupTypeClassDef ( Type &classType ) : IClassDef

Method Details

ApplyChangesToBusinessObject() public méthode

Updates the properties on the represented business object
public ApplyChangesToBusinessObject ( ) : void
Résultat void

ExtendedComboBoxMapper() public méthode

Constructs the mapper for IExtendedComboBox.
public ExtendedComboBoxMapper ( IExtendedComboBox ctl, string propName, bool isReadOnly, IControlFactory controlFactory ) : System
ctl IExtendedComboBox
propName string
isReadOnly bool
controlFactory IControlFactory
Résultat System

GetIBOGridAndEditorControl() protected méthode

The IBOGridAndEditorControl that is being popped up by this mapper.
protected GetIBOGridAndEditorControl ( ) : IBOGridAndEditorControl
Résultat IBOGridAndEditorControl

HandlePopUpFormClosedEvent() protected méthode

Handles the Closing of the Popup form. By default this saves the Business Object that is currently selectedin the Popup (if there is one) Reloads the Combo Box using ReloadLookupValues. and Sets the Currently selected Business Object as the selected Item for the ComboBox
protected HandlePopUpFormClosedEvent ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

InternalUpdateControlValueFromBo() protected méthode

Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject
protected InternalUpdateControlValueFromBo ( ) : void
Résultat void

ReloadLookupValues() protected méthode

Reloads the ComboBox.
protected ReloadLookupValues ( ) : void
Résultat void

ShowPopupForm() public méthode

Shows the popup form that is displayed when the button is clicked. This popup form is used to edit the BusinessObjects that fill the combobox.
public ShowPopupForm ( ) : void
Résultat void

UpdateControlValueFromBusinessObject() public méthode

Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject
public UpdateControlValueFromBusinessObject ( ) : void
Résultat void