C# Class Habanero.Faces.Base.DateTimePickerMapper

Wraps a DateTimePicker in order to display and capture a DateTime property of the business object
Inheritance: ControlMapper
Afficher le fichier Open project: Chillisoft/habanero.faces Class Usage Examples

Méthodes publiques

Méthode Description
ApplyChangesToBusinessObject ( ) : void

Updates the properties on the represented business object

DateTimePickerMapper ( IDateTimePicker picker, string propName, bool isReadOnly, IControlFactory factory ) : System

Constructor to initialise a new instance of the class

Méthodes protégées

Méthode Description
InitialiseWithAttributes ( ) : void

Initialises the control using the attributes already provided, using ControlMapper.SetPropertyAttributes.

InternalUpdateControlValueFromBo ( ) : void

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

Private Methods

Méthode Description
GetValueOfDateTimePicker ( ) : object

Returns the value currently held by the picker

Method Details

ApplyChangesToBusinessObject() public méthode

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

DateTimePickerMapper() public méthode

Constructor to initialise a new instance of the class
public DateTimePickerMapper ( IDateTimePicker picker, string propName, bool isReadOnly, IControlFactory factory ) : System
picker IDateTimePicker The DateTimePicker control to which the property is mapped
propName string The property name
isReadOnly bool Whether this control is read only
factory IControlFactory The control factory to be used when creating the controlMapperStrategy
Résultat System

InitialiseWithAttributes() protected méthode

Initialises the control using the attributes already provided, using ControlMapper.SetPropertyAttributes.
protected InitialiseWithAttributes ( ) : void
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