TKChangeStyleAction Class Reference
[Actions]

Changes the style of a Toolkit component. More...

Inheritance diagram for TKChangeStyleAction:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($target, $newStyle)
 Creates a new style change action.
 getInvocation ()

Static Public Member Functions

static createFromXML ($attrs, $children)


Detailed Description

Changes the style of a Toolkit component.

Definition at line 7 of file TKChangeStyleAction.php5.


Constructor & Destructor Documentation

TKChangeStyleAction::__construct ( target,
newStyle 
)

Creates a new style change action.

Parameters:
$target [TKComponent]: component whose style is to be changed
$newStyle [array]: associative array of CSS attribute => value pairs describing the new style of the target

Reimplemented in TKHideAction, and TKShowAction.

Definition at line 17 of file TKChangeStyleAction.php5.

References SObject::setError().


Member Function Documentation

static TKChangeStyleAction::createFromXML ( attrs,
children 
) [static]

For internal use only.

Reimplemented from TKAction.

Reimplemented in TKHideAction, and TKShowAction.

Definition at line 40 of file TKChangeStyleAction.php5.

References Toolkit::getComponent().

TKChangeStyleAction::getInvocation (  ) 

For internal use only.

Reimplemented from TKAction.

Definition at line 33 of file TKChangeStyleAction.php5.


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

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