C# Class Habanero.Faces.Base.ExtendedTextBoxMapper

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

Protected Properties

Свойство Type Description
_loadCollectionAfterFormLoad bool

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ApplyChangesToBusinessObject() public méthode

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

CancelClickHandler() protected méthode

Handler for the Cancel click
protected CancelClickHandler ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

CloseForm() protected méthode

protected CloseForm ( ) : void
Résultat void

ExtendedTextBoxMapper() public méthode

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

GetLookupTypeClassDef() protected méthode

protected GetLookupTypeClassDef ( Type &classType ) : IClassDef
classType System.Type
Résultat IClassDef

GetReadOnlyGrid() protected méthode

Returns the IReadOnlyGrid that is being used to select the RelatedBusinessObject.
protected GetReadOnlyGrid ( IControlHabanero parent = null ) : IReadOnlyGridControl
parent IControlHabanero
Résultat IReadOnlyGridControl

GetSelectedBusinessObject() protected méthode

The BusinessObject that is set on the IBOGridAndEditorControl.
protected GetSelectedBusinessObject ( ) : IBusinessObject
Résultat IBusinessObject

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) 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
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

SelectClickHandler() protected méthode

Handler for the Select click
protected SelectClickHandler ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

SetupPopupForm() 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 SetupPopupForm ( ) : void
Résultat void

Property Details

_loadCollectionAfterFormLoad protected_oe property

protected bool _loadCollectionAfterFormLoad
Résultat bool