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

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

Защищенные свойства (Protected)

Свойство Тип Описание
_loadCollectionAfterFormLoad bool

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

Метод Описание
ApplyChangesToBusinessObject ( ) : void

Updates the properties on the represented business object

ExtendedTextBoxMapper ( IExtendedTextBox ctl, string propName, bool isReadOnly, IControlFactory controlFactory ) : System

Constructs the mapper for IExtendedComboBox.

SetupPopupForm ( ) : 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.

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

Метод Описание
CancelClickHandler ( object sender, EventArgs e ) : void

Handler for the Cancel click

CloseForm ( ) : void

GetLookupTypeClassDef ( Type &classType ) : IClassDef
GetReadOnlyGrid ( IControlHabanero parent = null ) : IReadOnlyGridControl

Returns the IReadOnlyGrid that is being used to select the RelatedBusinessObject.

GetSelectedBusinessObject ( ) : IBusinessObject

The BusinessObject that is set on the IBOGridAndEditorControl.

HandlePopUpFormClosedEvent ( object sender, CancelEventArgs 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) and Sets the Currently selected Business Object.ToString as the text of the TextBox

InternalUpdateControlValueFromBo ( ) : void

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

SelectClickHandler ( object sender, EventArgs e ) : void

Handler for the Select click

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

Метод Описание
CreatePopupForm ( ) : void
GenerateSelectionInterface ( IClassDef lookupTypeClassDef, ISupportAsyncLoadingCollection &viewer, int &minHeight, int &minWidth, IGenericGridFilterControl &filterControlPanel ) : IControlHabanero
GetCollection ( Type classType ) : IBusinessObjectCollection
LoadSelectionCollection ( ISupportAsyncLoadingCollection viewer, Type classType ) : void
SetupSelectButtonGroupControl ( ) : void

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

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

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

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

Handler for the Cancel click
protected CancelClickHandler ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

protected CloseForm ( ) : void
Результат void

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

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

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

protected GetLookupTypeClassDef ( Type &classType ) : IClassDef
classType System.Type
Результат IClassDef

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

Returns the IReadOnlyGrid that is being used to select the RelatedBusinessObject.
protected GetReadOnlyGrid ( IControlHabanero parent = null ) : IReadOnlyGridControl
parent IControlHabanero
Результат IReadOnlyGridControl

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

The BusinessObject that is set on the IBOGridAndEditorControl.
protected GetSelectedBusinessObject ( ) : IBusinessObject
Результат IBusinessObject

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) and Sets the Currently selected Business Object.ToString as the text of the TextBox
protected HandlePopUpFormClosedEvent ( object sender, CancelEventArgs e ) : void
sender object
e CancelEventArgs
Результат void

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

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

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

Handler for the Select click
protected SelectClickHandler ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

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

Описание свойств

_loadCollectionAfterFormLoad защищенное свойство

protected bool _loadCollectionAfterFormLoad
Результат bool