C# 클래스 Habanero.Faces.Win.ButtonGroupControlWin

Manages a group of buttons that display next to each other
상속: PanelWin, IButtonGroupControl
파일 보기 프로젝트 열기: Chillisoft/habanero.faces

공개 메소드들

메소드 설명
AddButton ( string buttonName ) : IButton

Adds a new button to the control with a specified name

AddButton ( string buttonName, EventHandler clickHandler ) : IButton

Adds a new button to the control with a specified name and with an attached event handler to carry out further actions if the button is pressed

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

Adds a new button to the control with a specified name, specified text and with an attached event handler to carry out further actions if the button is pressed

ButtonGroupControlWin ( IControlFactory controlFactory ) : System

Constructor for the ButtonGroupControlWin

SetDefaultButton ( string buttonName ) : void

Sets the default button in this control that would be chosen if the user pressed Enter without changing the focus

this ( string buttonName ) : IButton

A facility to index the buttons in the control so that they can be accessed like an array (eg. button["name"])

메소드 상세

AddButton() 공개 메소드

Adds a new button to the control with a specified name
public AddButton ( string buttonName ) : IButton
buttonName string The name to appear on the button
리턴 IButton

AddButton() 공개 메소드

Adds a new button to the control with a specified name and with an attached event handler to carry out further actions if the button is pressed
public AddButton ( string buttonName, EventHandler clickHandler ) : IButton
buttonName string The name to appear on the button
clickHandler EventHandler The method that handles the Click event
리턴 IButton

AddButton() 공개 메소드

Adds a new button to the control with a specified name, specified text and with an attached event handler to carry out further actions if the button is pressed
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 method that handles the Click event
리턴 IButton

ButtonGroupControlWin() 공개 메소드

Constructor for the ButtonGroupControlWin
public ButtonGroupControlWin ( IControlFactory controlFactory ) : System
controlFactory IControlFactory
리턴 System

SetDefaultButton() 공개 메소드

Sets the default button in this control that would be chosen if the user pressed Enter without changing the focus
public SetDefaultButton ( string buttonName ) : void
buttonName string The name of the button
리턴 void

this() 공개 메소드

A facility to index the buttons in the control so that they can be accessed like an array (eg. button["name"])
public this ( string buttonName ) : IButton
buttonName string The name of the button
리턴 IButton