Class TUseLayersCollection

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUseLayersCollection = 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

Methods

Private function GetItem(Index: integer): TUseLayerNumberItem;
Private procedure SetItem(Index: integer; const Value: TUseLayerNumberItem);
Public function Add: TUseLayerNumberItem;
Public Constructor Create(Model: TBaseModel);
Public function GetItemByLayerNumber(LayerNumber: integer): TUseLayerNumberItem;

Properties

Public property Items[Index:integer]: TUseLayerNumberItem read GetItem write SetItem;

Description

Methods

Private function GetItem(Index: integer): TUseLayerNumberItem;
 
Private procedure SetItem(Index: integer; const Value: TUseLayerNumberItem);
 
Public function Add: TUseLayerNumberItem;
 
Public Constructor Create(Model: TBaseModel);
 
Public function GetItemByLayerNumber(LayerNumber: integer): TUseLayerNumberItem;
 

Properties

Public property Items[Index:integer]: TUseLayerNumberItem read GetItem write SetItem;
 

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