Class TCompositeZone

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCompositeZone = class(TOrderedCollection)

Description

no description available, TOrderedCollection description follows

TOrderedCollection is a base class for collections that avoid deleting their collection items during assign whenever they can. TOrderedCollection is typically used to allow editing of the collection in a GUI. The model owns (directly or indirectly) one copy of the TOrderedCollection. Another copy will be created in the GUI in which Model will be Nil. The user will edit this latter copy in the GUI. The copy then gets assigned back to the original copy.

See also
Assign
Assign copies the source TOrderedCollection to itself.

Hierarchy

Overview

Fields

Private FZoneName: string;

Methods

Private function GetItem(Index: integer): ZZoneItem;
Private procedure SetItem(Index: integer; const Value: ZZoneItem);
Private procedure SetZoneName(Value: string);
Public procedure Assign(Source: TPersistent); override;
Public constructor Create(Model: TBaseModel);
Public function IsSame(AnOrderedCollection: TOrderedCollection): boolean; override;

Properties

Public property Items[Index:integer]: ZZoneItem read GetItem write SetItem;
Published property ZoneName: string read FZoneName write SetZoneName;

Description

Fields

Private FZoneName: string;
 

Methods

Private function GetItem(Index: integer): ZZoneItem;
 
Private procedure SetItem(Index: integer; const Value: ZZoneItem);
 
Private procedure SetZoneName(Value: string);
 
Public procedure Assign(Source: TPersistent); override;
 
Public constructor Create(Model: TBaseModel);
 
Public function IsSame(AnOrderedCollection: TOrderedCollection): boolean; override;
 

Properties

Public property Items[Index:integer]: ZZoneItem read GetItem write SetItem;
 
Published property ZoneName: string read FZoneName write SetZoneName;
 

Generated by PasDoc 0.12.1 on 2013-05-13 15:41:49