FMX.Types.TTabList

From RAD Studio API Documentation
Jump to: navigation, search

System.TAggregatedObjectSystem.TObjectTTabList

Delphi

TTabList = class(TAggregatedObject, ITabList)

C++

class PASCALIMPLEMENTATION TTabList : public System::TAggregatedObject

Properties

Type Visibility Source Unit Parent
class public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

TAggregatedObject provides the functionality for an inner object of an aggregate by implementing the IInterface methods to delegate to the controlling IInterface.

FMX.Types.TTabList inherits from System.TAggregatedObject. All content below this line refers to System.TAggregatedObject.

TAggregatedObject provides the functionality for an inner object of an aggregate by implementing the IInterface methods to delegate to the controlling IInterface.

An aggregated object is an object composed of several interfaced objects. Each object implements its own behavior and interfaces, but all the objects share the same reference count, which is that of the controller object. In the container pattern, the controller is the container object.

TAggregatedObject does not itself support any interfaces. However, as is typical of an aggregate, it does implement the methods of IInterface, which are used by the objects that descend from it. TAggregatedObject, therefore, serves as a base for classes that implement interfaces for creating objects that are part of an aggregate.

TAggregatedObject is used as a base for classes that create contained objects and connecting objects. Using TAggregatedObject ensures that calls to the IInterface methods delegate to the controlling IInterface of the aggregate.

The controlling IInterface is specified in the constructor for TAggregatedObject and is indicated by the Controller property.

See Also