Class TTimeListGroup

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TTimeListGroup = class(TObject)

Description

TTimeListGroup is used to group together a series of related TPhastTimeLists.

Hierarchy

Overview

Fields

Private FList: TList;
Private FName: string;

Methods

Private function GetItems(const Index: integer): TPhastTimeList;
Private procedure SetItems(const Index: integer; const Value: TPhastTimeList);
Private procedure SetName(const Value: string);
Public function Add(const TimeList: TPhastTimeList): integer;
Public function Count: integer;
Public constructor Create;
Public destructor Destroy; override;
Public function IndexOf(const TimeList: TPhastTimeList): integer;

Properties

Public property Items[constIndex:integer]: TPhastTimeList read GetItems write SetItems;
Public property Name: string read FName write SetName;

Description

Fields

Private FList: TList;

FList: TList; FList stores the TPhastTimeLists.

Private FName: string;

FName: string; See Name.

Methods

Private function GetItems(const Index: integer): TPhastTimeList;

See Items.

Private procedure SetItems(const Index: integer; const Value: TPhastTimeList);

See Items.

Private procedure SetName(const Value: string);

See Name.

Public function Add(const TimeList: TPhastTimeList): integer;

Add adds TimeList to the group stored in this TTimeListGroup.

Returns

Add returns the position in Items at which TimeList is stored.

Public function Count: integer;

Count is the number of TPhastTimeLists in this TTimeListGroup.

Public constructor Create;

Create creates an instance of TTimeListGroup

Public destructor Destroy; override;

Destroy destroys the current instance of TTimeListGroup. do not call Destroy directly. Call Free instead.

Public function IndexOf(const TimeList: TPhastTimeList): integer;

IndexOf returns the position of TimeList in TTimeListGroup. If TimeList is not in TTimeListGroup, IndexOf returns -1.

Properties

Public property Items[constIndex:integer]: TPhastTimeList read GetItems write SetItems;

Items provides access to the TPhastTimeLists in TTimeListGroup.

Public property Name: string read FName write SetName;

Name is a name for the group of TPhastTimeLists.


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