TKScrollPane Class Reference
[Containers]

Panel with scrollbars. More...

Inheritance diagram for TKScrollPane:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ()
 Create a new scroll pane.

Static Public Member Functions

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

Protected Member Functions

 renderContainer ($class, $style, $events, $id)


Detailed Description

Panel with scrollbars.

This container can only hold one component, which should probably be another container. The scrollpane will be given the width and height specified, for convenience. These can obviously be specified in the object's style.

Slots:
  • main [ public, TKComponent, single]: can only contain one component

Definition at line 15 of file TKScrollPane.php5.


Constructor & Destructor Documentation

TKScrollPane::__construct (  ) 

Create a new scroll pane.

Width and height are specified in CSS units, but need not be present.

Reimplemented from TKContainer.

Definition at line 21 of file TKScrollPane.php5.

References TKContainer::setSlotOption(), and TKContainer::SLOT_SIZE_SINGLE.


Member Function Documentation

static TKScrollPane::createFromXML ( attrs,
contents,
node 
) [static]

For internal use only.

Reimplemented from TKComponent.

Definition at line 46 of file TKScrollPane.php5.

TKScrollPane::renderContainer ( class,
style,
events,
id 
) [protected]

For internal use only.

Reimplemented from TKContainer.

Definition at line 29 of file TKScrollPane.php5.

References TKComponent::$html, and TKContainer::getChildrenBySlot().


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

Generated on Wed Nov 24 02:07:04 2010 for Common by  doxygen 1.5.6