C# Class Habanero.Faces.Base.ButtonGroupControlManager

This manager groups common logic for IButtonGroupControl objects. Do not use this object in working code - rather call CreateButtonGroupControl in the appropriate control factory.
ファイルを表示 Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
AddButton ( string buttonName ) : IButton

Adds a button with te button name and text equal to buttonName.

AddButton ( string buttonName, string buttonText, EventHandler clickHandler ) : IButton

Adds a new button to the control by the name specified

ButtonGroupControlManager ( IButtonGroupControl buttonGroupControl, IControlFactory controlFactory ) : System

Constructor for the ButtonGroupControlManager

Method Details

AddButton() public method

Adds a button with te button name and text equal to buttonName.
public AddButton ( string buttonName ) : IButton
buttonName string
return IButton

AddButton() public method

Adds a new button to the control by the name specified
public AddButton ( string buttonName, string buttonText, EventHandler clickHandler ) : IButton
buttonName string The name that the button is created with
buttonText string The text to appear on the button
clickHandler EventHandler The event handler to be triggered on the button click
return IButton

ButtonGroupControlManager() public method

Constructor for the ButtonGroupControlManager
public ButtonGroupControlManager ( IButtonGroupControl buttonGroupControl, IControlFactory controlFactory ) : System
buttonGroupControl IButtonGroupControl
controlFactory IControlFactory
return System