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: $Id: TControl.php 2434 2008-04-18 09:47:05Z mikl $
  • author: Qiang Xue <qiang.xue@gmail.com>

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


	
			
Method Summary
boolean getCausesValidation ()
string getCommandName ()
boolean getIsDefaultButton ()
string getText ()
string getValidationGroup ()
void onClick (TEventParameter $param)
void setCausesValidation (boolean $value)
void setCommandName (string $value)
void setCommandParameter (string $value)
void setIsDefaultButton (boolean $value)
void setText (string $value)
void setValidationGroup (string $value)
Methods
getCausesValidation (line 2094)
  • return: whether postback event trigger by this button will cause input validation
  • access: public
boolean getCausesValidation ()
getCommandName (line 2104)
  • return: the command name associated with the OnCommand event.
  • access: public
string getCommandName ()
getCommandParameter (line 2114)
  • return: the parameter associated with the OnCommand event
  • access: public
string getCommandParameter ()
getIsDefaultButton (line 2151)
  • return: true if this button is registered as a default button for a panel.
  • access: public
boolean getIsDefaultButton ()
getText (line 2084)
  • return: caption of the button
  • access: public
string getText ()
getValidationGroup (line 2124)
  • return: the group of validators which the button causes validation upon postback
  • access: public
string getValidationGroup ()
onClick (line 2135)

Raises OnClick event.

  • access: public
void onClick (TEventParameter $param)
  • TEventParameter $param: event parameter to be passed to the event handlers
onCommand (line 2141)

Raises OnCommand event.

  • access: public
void onCommand (TCommandEventParameter $param)
setCausesValidation (line 2099)
  • access: public
void setCausesValidation (boolean $value)
  • boolean $value: whether postback event trigger by this button will cause input validation
setCommandName (line 2109)
  • access: public
void setCommandName (string $value)
  • string $value: the command name associated with the OnCommand event.
setCommandParameter (line 2119)
  • access: public
void setCommandParameter (string $value)
  • string $value: the parameter associated with the OnCommand event.
setIsDefaultButton (line 2146)
  • access: public
void setIsDefaultButton (boolean $value)
  • boolean $value: set by a panel to register this button as the default button for the panel.
setText (line 2089)
  • access: public
void setText (string $value)
  • string $value: caption of the button
setValidationGroup (line 2129)
  • access: public
void setValidationGroup (string $value)
  • string $value: the group of validators which the button causes validation upon postback

Documentation generated on Mon, 21 Apr 2008 11:34:05 -0400 by phpDocumentor 1.3.0RC4