Class TTabViewCollection
TTabViewCollection class.
TTabViewCollection is used to maintain a list of views belong to a TTabPanel.
Method Summary |
integer
|
Finds the index of the tab view whose ID is the same as the one being looked for.
|
void
|
Inserts an item at the specified position.
|
Methods Inherited From TList |
TList::add(), TList::clear(), TList::contains(), TList::copyFrom(), TList::count(), 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()
|
Methods Inherited From TComponent |
TComponent::addParsedObject(), TComponent::attachEventHandler(), TComponent::canGetProperty(), TComponent::canSetProperty(), TComponent::createdOnTemplate(), TComponent::detachEventHandler(), TComponent::evaluateExpression(), TComponent::evaluateStatements(), TComponent::getEventHandlers(), TComponent::getSubProperty(), TComponent::hasEvent(), TComponent::hasEventHandler(), TComponent::hasProperty(), TComponent::raiseEvent(), TComponent::setSubProperty(), TComponent::__get(), TComponent::__set()
|
Method Details |
findIndexByID
public integer findIndexByID |
(string $id ) |
Finds the index of the tab view whose ID is the same as the one being looked for.
Input |
string | $id | the explicit ID of the tab view to be looked for |
Output |
integer
| the index of the tab view found, -1 if not found. |
Exception |
|
insertAt
public void insertAt |
(integer $index , mixed $item ) |
Inserts an item at the specified position.
This overrides the parent implementation by performing sanity check on the type of new item.
Input |
integer | $index | the speicified position. |
mixed | $item | new item |
Output |
Exception |
throws | TInvalidDataTypeException if the item to be inserted is not a TTabView object. |
|
|