Class TCellElementSegmentList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCellElementSegmentList = class(TObjectList)

Description

TCellElementSegmentList is a list of the TCellElementSegments of a TScreenObject. Each segment is the 2D intersection of one segment of the TScreenObject with an individual cell or element in the grid.

Hierarchy

Overview

Fields

Private FUpToDate: boolean;

Methods

Private function GetSegment(Index: Integer): TCellElementSegment;
Private procedure SetSegment(Index: Integer; const Value: TCellElementSegment);
Private procedure SetUpToDate(const Value: boolean);
Public function Add(ASegment: TCellElementSegment): Integer;

Properties

Public property UpToDate: boolean read FUpToDate write SetUpToDate;
Public property Items[Index: Integer]: TCellElementSegment read GetSegment write SetSegment;

Description

Fields

Private FUpToDate: boolean;

FUpToDate: boolean; See UpToDate.

Methods

Private function GetSegment(Index: Integer): TCellElementSegment;

See Items.

Parameters
Index
indicates the position of the TCellElementSegment.
Private procedure SetSegment(Index: Integer; const Value: TCellElementSegment);

See Items.

Parameters
Index
indicates the position of the TCellElementSegment.
Value
is the TCellElementSegment to be stored.
Private procedure SetUpToDate(const Value: boolean);

See UpToDate.

Public function Add(ASegment: TCellElementSegment): Integer;

Add adds a TCellElementSegment to the current TCellElementSegmentList and returns the position of it in the TCellElementSegmentList.

Parameters
ASegment
is the TCellElementSegment to be added.

Properties

Public property UpToDate: boolean read FUpToDate write SetUpToDate;

UpToDate indicates that the TCellElementSegments in this class name are up-to-date and do not need to be recalculated.

Public property Items[Index: Integer]: TCellElementSegment read GetSegment write SetSegment;

Items is used to access the TCellElementSegments in the list.


Generated by PasDoc 0.10.0 on 2006-10-31 09:56:45