C# 클래스 Habanero.Faces.Base.DateTimePickerMapper

Wraps a DateTimePicker in order to display and capture a DateTime property of the business object
상속: ControlMapper
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetValueOfDateTimePicker ( ) : object

Returns the value currently held by the picker

메소드 상세

ApplyChangesToBusinessObject() 공개 메소드

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

DateTimePickerMapper() 공개 메소드

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
리턴 System

InitialiseWithAttributes() 보호된 메소드

Initialises the control using the attributes already provided, using ControlMapper.SetPropertyAttributes.
protected InitialiseWithAttributes ( ) : void
리턴 void

InternalUpdateControlValueFromBo() 보호된 메소드

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