Class TSelfCopiedCompList

Unit

Declaration

type TSelfCopiedCompList = class(TComponentList, ISelfCopied)

Description

List of self copied components. By default it keeps ownership of items and destroys them in corresponding methods. Ownership is transferrred to copy of list as well.

Hierarchy

  • TComponentList
  • TSelfCopiedCompList

Overview

Methods

Public destructor Destroy; override;
Public function Add(Item: TComponent): integer; virtual;
Public function GetCopy: TObject; virtual;
Public function GetSharedCopy: TObject; virtual;
Public function Remove(AComponent: TComponent): Integer; virtual;
Public procedure CopyParameters(Dest: TObject); virtual;
Public procedure Delete(Index: integer); virtual;
Public procedure Insert(Index: integer; Item: TComponent); virtual;

Description

Methods

Public destructor Destroy; override;
 
Public function Add(Item: TComponent): integer; virtual;
 
Public function GetCopy: TObject; virtual;
 
Public function GetSharedCopy: TObject; virtual;

Returns copy of list which owns its items.

Public function Remove(AComponent: TComponent): Integer; virtual;
 
Public procedure CopyParameters(Dest: TObject); virtual;
 
Public procedure Delete(Index: integer); virtual;
 
Public procedure Insert(Index: integer; Item: TComponent); virtual;

Redefines methods as virtual to be used in descendant classes.


Generated by PasDoc 0.15.0.