## Interface IButtonControl

Description

IButtonControl interface

IButtonControl specifies the common properties and events that must be implemented by a button control, such as TButton, TLinkButton, TImageButton.

- since: 3.0
- version: $Revision: $ $Date: $
- author: Qiang Xue <qiang.xue@gmail.com>

Located in /Web/UI/TControl.php (line 1955)

Method Summary
boolean getCausesValidation ()
string getCommandName ()
string getCommandParameter ()
string getText ()
string getValidationGroup ()
void onClick (TEventParameter $param)
void onCommand (TCommandEventParameter $param)
void setCausesValidation (boolean $value)
void setCommandName (string $value)
void setCommandParameter (string $value)
void setText (string $value)
void setValidationGroup (string $value)
Methods
getCausesValidation (line 1970)

- return: whether postback event trigger by this button will cause input validation
- access: public

boolean getCausesValidation ()
getCommandName (line 1980)

- return: the command name associated with the OnCommand event.
- access: public

string getCommandName ()
getCommandParameter (line 1990)

- return: the parameter associated with the OnCommand event
- access: public

string getCommandParameter ()
getText (line 1960)

- return: caption of the button
- access: public

string getText ()
getValidationGroup (line 2000)

- return: the group of validators which the button causes validation upon postback
- access: public

string getValidationGroup ()
onClick (line 2011)

Raises OnClick event.

- access: public

void onClick (TEventParameter $param)

- TEventParameter $param: event parameter to be passed to the event handlers

onCommand (line 2017)

Raises OnCommand event.

- access: public

void onCommand (TCommandEventParameter $param)

- TCommandEventParameter $param: event parameter to be passed to the event handlers

setCausesValidation (line 1975)

- access: public

void setCausesValidation (boolean $value)

- boolean $value: whether postback event trigger by this button will cause input validation

setCommandName (line 1985)

- access: public

void setCommandName (string $value)

- string $value: the command name associated with the OnCommand event.

setCommandParameter (line 1995)

- access: public

void setCommandParameter (string $value)

- string $value: the parameter associated with the OnCommand event.

setText (line 1965)

- access: public

void setText (string $value)

- string $value: caption of the button

setValidationGroup (line 2005)

- access: public

void setValidationGroup (string $value)

- string $value: the group of validators which the button causes validation upon postback

Documentation generated on Sun, 04 Jun 2006 18:58:53 -0400 by phpDocumentor 1.3.0RC4