## Class TTableCellCollection

Description

TTableCellCollection class.

TTableCellCollection is used to maintain a list of cells belong to a table row.

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

Located in /Web/UI/WebControls/TTableRow.php (line 151)

    TComponent
       |
       --TList
          |
          --TTableCellCollection

Method Summary
TTableCellCollection __construct ([mixed $owner = null])
void insertAt (integer $index, mixed $item)
mixed removeAt (integer $index)
Methods
Constructor __construct (line 162)

Constructor.

- access: public

TTableCellCollection __construct ([mixed $owner = null])

- mixed $owner: cell collection owner

Redefinition of:

TList::__construct()
  Constructor.

insertAt (line 176)

Inserts an item at the specified position.

This overrides the parent implementation by performing additional operations for each newly added table cell.

- access: public
- throws: TInvalidDataTypeException if the item to be inserted is not a TTableCell object.

void insertAt (integer $index, mixed $item)

- integer $index: the speicified position.
- mixed $item: new item

Redefinition of:

TList::insertAt()
  Inserts an item at the specified position.

removeAt (line 195)

Removes an item at the specified position.

This overrides the parent implementation by performing additional cleanup work when removing a table cell.

- return: the removed item.
- access: public

mixed removeAt (integer $index)

- integer $index: the index of the item to be removed.

Redefinition of:

TList::removeAt()
  Removes an item at the specified position.

#### Inherited Methods

Inherited From TList

> TList::__construct()
> TList::add()
> TList::clear()
> TList::contains()
> TList::copyFrom()
> TList::getCount()
> TList::getIterator()
> TList::getReadOnly()
> TList::indexOf()
> TList::insertAt()
> TList::itemAt()
> TList::mergeWith()
> TList::offsetExists()
> TList::offsetGet()
> TList::offsetSet()
> TList::offsetUnset()
> TList::remove()
> TList::removeAt()
> TList::setReadOnly()
> TList::toArray()

Inherited From TComponent

> TComponent::attachEventHandler()
> TComponent::canGetProperty()
> TComponent::canSetProperty()
> TComponent::detachEventHandler()
> TComponent::evaluateExpression()
> TComponent::evaluateStatements()
> TComponent::getEventHandlers()
> TComponent::getSubProperty()
> TComponent::hasEvent()
> TComponent::hasEventHandler()
> TComponent::hasProperty()
> TComponent::raiseEvent()
> TComponent::setSubProperty()
> TComponent::__get()
> TComponent::__set()

Documentation generated on Mon, 01 May 2006 23:04:49 -0400 by phpDocumentor 1.3.0RC4