TKAbstractButton Class Reference
[Components]

Base class for all button components. More...

Inheritance diagram for TKAbstractButton:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($caption)
 Called by descendant classes.

Static Public Member Functions

static createFromXML ($attrs, $value, $node)


Detailed Description

Base class for all button components.

Use TKButton% to create an actual button.

Properties:
  • caption string: text to display in button
  • disabled boolean: whether button is initially disabled

Definition at line 14 of file TKAbstractButton.php5.


Constructor & Destructor Documentation

TKAbstractButton::__construct ( caption  ) 

Called by descendant classes.

Parameters:
$caption [string]: initial value for caption property

Reimplemented in TKButton.

Definition at line 20 of file TKAbstractButton.php5.

References TKComponent::addProperty().


Member Function Documentation

static TKAbstractButton::createFromXML ( attrs,
value,
node 
) [static]

For internal use only.

Reimplemented from TKComponent.

Reimplemented in TKButton, and TKIconButton.

Definition at line 30 of file TKAbstractButton.php5.


The documentation for this class was generated from the following file:

Generated on Wed Nov 24 02:06:52 2010 for Common by  doxygen 1.5.6