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

Wraps a TextBox control in order to display and capture a property of the business object. There are some limitations with using a TextBox for numbers. For greater control of user input with numbers, you should consider using a NumericUpDown control, failing this the appropriate ITextBoxMapperStrategy can be used.
상속: ControlMapper
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

공개 메소드들

메소드 설명
ApplyChangesToBusinessObject ( ) : void

Updates the properties on the represented business object

TextBoxMapper ( ITextBox tb, string propName, bool isReadOnly, IControlFactory factory ) : System

Constructor to initialise a new instance of the mapper

보호된 메소드들

메소드 설명
InternalUpdateControlValueFromBo ( ) : void

Updates the interface when the value has been changed in the object being represented

메소드 상세

ApplyChangesToBusinessObject() 공개 메소드

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

InternalUpdateControlValueFromBo() 보호된 메소드

Updates the interface when the value has been changed in the object being represented
protected InternalUpdateControlValueFromBo ( ) : void
리턴 void

TextBoxMapper() 공개 메소드

Constructor to initialise a new instance of the mapper
public TextBoxMapper ( ITextBox tb, string propName, bool isReadOnly, IControlFactory factory ) : System
tb ITextBox The TextBox to map
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