C# Класс Habanero.Faces.Base.CheckBoxMapper

Wraps a CheckBox in order to display and capture a boolean property of the business object
Наследование: ControlMapper
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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