C# Class Habanero.Faces.Base.NumericUpDownMapper

Wraps a NumericUpDown control in order to display and capture a numeric property of the business object
Inheritance: ControlMapper
Show file Open project: Chillisoft/habanero.faces Class Usage Examples

Protected Properties

Property Type Description
_numericUpDown INumericUpDown

Protected Methods

Method Description
InternalUpdateControlValueFromBo ( ) : void

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

NumericUpDownMapper ( INumericUpDown ctl, string propName, bool isReadOnly, IControlFactory factory ) : System

Constructor to instantiate a new instance of the class

Method Details

InternalUpdateControlValueFromBo() protected method

Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject
protected InternalUpdateControlValueFromBo ( ) : void
return void

NumericUpDownMapper() protected method

Constructor to instantiate a new instance of the class
protected NumericUpDownMapper ( INumericUpDown ctl, string propName, bool isReadOnly, IControlFactory factory ) : System
ctl INumericUpDown The control object to map
propName string The property name
isReadOnly bool Whether the control is read only. /// If so, it then becomes disabled. If not, /// handlers are assigned to manage key presses, depending on the strategy assigned to this mapper.
factory IControlFactory The control factory to be used when creating the controlMapperStrategy
return System

Property Details

_numericUpDown protected property

Teh actual INumericUpDown control being mapped to the IBusinessObject.IBOProp
protected INumericUpDown _numericUpDown
return INumericUpDown