C# Class Habanero.Faces.Base.ListComboBoxMapper

Wraps a ComboBox in order to display and capture a property of the business object. The List of items to be selected is a '|' seperated list.
Inheritance: ControlMapper
ファイルを表示 Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
ApplyChangesToBusinessObject ( ) : void

Updates the properties on the represented business object

ListComboBoxMapper ( IControlHabanero ctl, string propName, bool isReadOnly, IControlFactory factory )

Constructor form ListComboBoxMapper

SetList ( string list ) : void

Populates the Items list based on the pipe (|) seperated string list.

Protected Methods

Method Description
InternalUpdateControlValueFromBo ( ) : void

Updates the value in the control from its business object.

Method Details

ApplyChangesToBusinessObject() public method

Updates the properties on the represented business object
public ApplyChangesToBusinessObject ( ) : void
return void

InternalUpdateControlValueFromBo() protected method

Updates the value in the control from its business object.
protected InternalUpdateControlValueFromBo ( ) : void
return void

ListComboBoxMapper() public method

Constructor form ListComboBoxMapper
public ListComboBoxMapper ( IControlHabanero ctl, string propName, bool isReadOnly, IControlFactory factory )
ctl IControlHabanero
propName string
isReadOnly bool
factory IControlFactory

SetList() public method

Populates the Items list based on the pipe (|) seperated string list.
public SetList ( string list ) : void
list string A pipe (|) seperated string representing /// the list of string options to populate the list e.g Mr|Mrs|Dr
return void