Class TBaseModel

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TBaseModel = class abstract(TComponent)

Description

Hierarchy

Overview

Fields

Private FUpToDate: boolean;

Methods

Protected procedure SetUpToDate(const Value : boolean); virtual;
Protected function GetDisplayName: string; virtual; abstract;
Protected function GetModelSelection: TModelSelection; virtual; abstract;
Protected procedure SetModelSelection(const Value: TModelSelection); virtual; abstract;
Public procedure Invalidate; virtual;

Properties

Public property UpToDate: boolean read FUpToDate write SetUpToDate;
Public property DisplayName: string read GetDisplayName;
Published property ModelSelection: TModelSelection read GetModelSelection write SetModelSelection;

Description

Fields

Private FUpToDate: boolean;

See UpToDate.

Methods

Protected procedure SetUpToDate(const Value : boolean); virtual;

See UpToDate.

Protected function GetDisplayName: string; virtual; abstract;
 
Protected function GetModelSelection: TModelSelection; virtual; abstract;
 
Protected procedure SetModelSelection(const Value: TModelSelection); virtual; abstract;
 
Public procedure Invalidate; virtual;

Call Invalidate to indicate that the model has changed in some important respect. The user will be prompted to save the model when closing.

Properties

Public property UpToDate: boolean read FUpToDate write SetUpToDate;

UpToDate indicates whether or not the model needs to be saved to file. See Invalidate.

Public property DisplayName: string read GetDisplayName;
 
Published property ModelSelection: TModelSelection read GetModelSelection write SetModelSelection;
 

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