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

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

공개 메소드들

메소드 설명
ApplyChangesToBusinessObject ( ) : void

The event handler that is called to update the property on the Business Object when the user has checked or unchecked the CheckBox.

CheckBoxMapper ( ICheckBox cb, string propName, bool isReadOnly, IControlFactory factory ) : System

Constructor to create a new CheckBox mapper object

GetStrategy ( ) : ICheckBoxMapperStrategy

Gets the custom strategy that is applied to this mapper by the control factory, which determines how the Click event is handled. See ICheckBoxMapperStrategy.

보호된 메소드들

메소드 설명
InternalUpdateControlValueFromBo ( ) : void

Updates the appearance of the control when the value of the property has changed internally

메소드 상세

ApplyChangesToBusinessObject() 공개 메소드

The event handler that is called to update the property on the Business Object when the user has checked or unchecked the CheckBox.
public ApplyChangesToBusinessObject ( ) : void
리턴 void

CheckBoxMapper() 공개 메소드

Constructor to create a new CheckBox mapper object
public CheckBoxMapper ( ICheckBox cb, string propName, bool isReadOnly, IControlFactory factory ) : System
cb ICheckBox The CheckBox object to be mapped
propName string A name for the property
isReadOnly bool Whether this control is read only
factory IControlFactory the control factory to be used when creating the controlMapperStrategy
리턴 System

GetStrategy() 공개 메소드

Gets the custom strategy that is applied to this mapper by the control factory, which determines how the Click event is handled. See ICheckBoxMapperStrategy.
public GetStrategy ( ) : ICheckBoxMapperStrategy
리턴 ICheckBoxMapperStrategy

InternalUpdateControlValueFromBo() 보호된 메소드

Updates the appearance of the control when the value of the property has changed internally
protected InternalUpdateControlValueFromBo ( ) : void
리턴 void