C# Класс Habanero.Faces.Base.ExtendedComboBoxMapper

The mapper for IExtendedComboBox.
Наследование: ControlMapper
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
CheckBoNotNull ( ) : void
GetCollection ( Type classType ) : IBusinessObjectCollection
GetLookupTypeClassDef ( Type &classType ) : IClassDef

Описание методов

ApplyChangesToBusinessObject() публичный Метод

Updates the properties on the represented business object
public ApplyChangesToBusinessObject ( ) : void
Результат void

ExtendedComboBoxMapper() публичный Метод

Constructs the mapper for IExtendedComboBox.
public ExtendedComboBoxMapper ( IExtendedComboBox ctl, string propName, bool isReadOnly, IControlFactory controlFactory ) : System
ctl IExtendedComboBox
propName string
isReadOnly bool
controlFactory IControlFactory
Результат System

GetIBOGridAndEditorControl() защищенный Метод

The IBOGridAndEditorControl that is being popped up by this mapper.
protected GetIBOGridAndEditorControl ( ) : IBOGridAndEditorControl
Результат IBOGridAndEditorControl

HandlePopUpFormClosedEvent() защищенный Метод

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
Результат void

InternalUpdateControlValueFromBo() защищенный Метод

Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject
protected InternalUpdateControlValueFromBo ( ) : void
Результат void

ReloadLookupValues() защищенный Метод

Reloads the ComboBox.
protected ReloadLookupValues ( ) : void
Результат void

ShowPopupForm() публичный Метод

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
Результат void

UpdateControlValueFromBusinessObject() публичный Метод

Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject
public UpdateControlValueFromBusinessObject ( ) : void
Результат void