C# Class Habanero.Faces.Win.ComboBoxDefaultMapperStrategyWin

Provides a set of behaviour strategies that can be applied to a lookup ComboBox depending on the environment. For Windows this provides the interaction where the Business Object is updates as soon as a new item is selected from the Combo Box.
Inheritance: IComboBoxMapperStrategy
ファイルを表示 Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
AddHandlers ( IComboBoxMapper mapper ) : void

Adds event handlers to the ComboBox that are suitable for the UI environment

AddItemSelectedEventHandler ( IComboBoxMapper mapper ) : void
RemoveCurrentHandlers ( IComboBoxMapper mapper ) : void

Removes event handlers previously assigned to the ComboBox

Private Methods

Method Description
SelectIndexChangedHandler ( object sender, EventArgs e ) : void

Method Details

AddHandlers() public method

Adds event handlers to the ComboBox that are suitable for the UI environment
public AddHandlers ( IComboBoxMapper mapper ) : void
mapper IComboBoxMapper The mapper for the lookup ComboBox
return void

AddItemSelectedEventHandler() public method

public AddItemSelectedEventHandler ( IComboBoxMapper mapper ) : void
mapper IComboBoxMapper
return void

RemoveCurrentHandlers() public method

Removes event handlers previously assigned to the ComboBox
public RemoveCurrentHandlers ( IComboBoxMapper mapper ) : void
mapper IComboBoxMapper The mapper for the lookup ComboBox
return void