Class TCustomDataListItem

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCustomDataListItem = class(TCollectionItem)

Description

TCustomDataListItem provides functionality used in storing multiple values associated with a single screen object (a TMultiValueScreenObject); It is used as an ancestor of TRealDataListItem and TIntegerDataListItem which actually hold data.

Hierarchy

Overview

Fields

Private FDataSetName: string;
Private FFirstCol: integer;
Private FFirstLay: integer;
Private FFirstRow: integer;
Private FLastCol: integer;
Private FLastLay: integer;
Private FLastRow: integer;

Methods

Protected function GetValuesLength: integer; virtual; abstract;
Protected procedure SetValuesLength(const Value: integer); virtual; abstract;
Public procedure Assign(Source: TPersistent); override;
Published function ValueIndex(const Col, Row, Lay: integer): integer;

Properties

Public property Length: integer read GetValuesLength write SetValuesLength;
Published property DataSetName: string read FDataSetName write FDataSetName;
Published property FirstCol: integer read FFirstCol write FFirstCol;
Published property FirstLay: integer read FFirstLay write FFirstLay;
Published property FirstRow: integer read FFirstRow write FFirstRow;
Published property LastCol: integer read FLastCol write FLastCol;
Published property LastLay: integer read FLastLay write FLastLay;
Published property LastRow: integer read FLastRow write FLastRow;

Description

Fields

Private FDataSetName: string;

See DataSetName.

Private FFirstCol: integer;

See FirstCol.

Private FFirstLay: integer;

See FirstLay.

Private FFirstRow: integer;

See FirstRow.

Private FLastCol: integer;

See LastCol.

Private FLastLay: integer;

See LastLay.

Private FLastRow: integer;

See LastRow.

Methods

Protected function GetValuesLength: integer; virtual; abstract;

GetValuesLength retrieves the number of items stored in TCustomDataListItem.

Protected procedure SetValuesLength(const Value: integer); virtual; abstract;

SetValuesLength sets the number of items stored in TCustomDataListItem.

Public procedure Assign(Source: TPersistent); override;

Assign copies all the values from Source (which must be a TCustomDataListItem) to the object calling Assign

Published function ValueIndex(const Col, Row, Lay: integer): integer;

ValueIndex is a function used to determine the position or a particular data item within the array of data items in descendants of TCustomDataListItem.

Properties

Public property Length: integer read GetValuesLength write SetValuesLength;

Length is the number of items stored in TCustomDataListItem.

Published property DataSetName: string read FDataSetName write FDataSetName;

DataSetName is the name of the data set for which values are being stored

Published property FirstCol: integer read FFirstCol write FFirstCol;

FirstCol is the first column for which data is stored;

Published property FirstLay: integer read FFirstLay write FFirstLay;

FirstLay is the first layer for which data is stored;

Published property FirstRow: integer read FFirstRow write FFirstRow;

FirstRow is the first row for which data is stored;

Published property LastCol: integer read FLastCol write FLastCol;

LastCol is the last column for which data is stored;

Published property LastLay: integer read FLastLay write FLastLay;

LastLay is the last layer for which data is stored;

Published property LastRow: integer read FLastRow write FLastRow;

LastRow is the last row for which data is stored;


Generated by PasDoc 0.12.1 on 2013-05-13 15:42:03