Klasse TCustomPropertyStorage

BeschreibungHierarchieFelderMethodenEigenschaften

Unit

Deklaration

type TCustomPropertyStorage = class(TComponent)

Beschreibung

Hierarchie

Übersicht

Methoden

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure Save; virtual;
Public procedure Restore; virtual;
Public procedure StorageNeeded(ReadOnly: Boolean); Virtual;
Public procedure FreeStorage; Virtual;
Public function ReadBoolean(const Ident: string; DefaultValue: Boolean): Boolean;
Public function ReadString(const Ident, DefaultValue: string): string;
Public function ReadInteger(const Ident: string; DefaultValue: Longint): Longint;
Public procedure ReadRect(const Ident: string; out ARect: TRect; const Default: TRect);
Public procedure ReadStrings(const Ident: string; const List: TStrings; const DefaultList: TStrings = nil);
Public procedure WriteString(const Ident, Value: string);
Public procedure WriteInteger(const Ident: string; Value: Longint);
Public procedure WriteBoolean(const Ident: string; Value: Boolean);
Public procedure WriteRect(const Ident: string; const Value: TRect);
Public procedure WriteStrings(const Ident: string; const List: TStrings);
Public procedure EraseSections;

Eigenschaften

Public property StoredValue[const AName: string]: TStoredType read GetStoredValue write SetStoredValue;
Public property Root: TComponent read GetRoot;
Public property Active: Boolean read FActive write FActive default True;
Public property StoredValues: TStoredValues read FStoredValues write SetStoredValues;
Public property OnSavingProperties: TNotifyEvent read FOnSavingProperties write FOnSavingProperties;
Public property OnSaveProperties: TNotifyEvent read FOnSaveProperties write FOnSaveProperties;
Public property OnRestoringProperties: TNotifyEvent read FOnRestoringProperties write FOnRestoringProperties;
Public property OnRestoreProperties: TNotifyEvent read FOnRestoreProperties write FOnRestoreProperties;

Beschreibung

Methoden

Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 
Public procedure Save; virtual;
 
Public procedure Restore; virtual;
 
Public procedure StorageNeeded(ReadOnly: Boolean); Virtual;
 
Public procedure FreeStorage; Virtual;
 
Public function ReadBoolean(const Ident: string; DefaultValue: Boolean): Boolean;
 
Public function ReadString(const Ident, DefaultValue: string): string;
 
Public function ReadInteger(const Ident: string; DefaultValue: Longint): Longint;
 
Public procedure ReadRect(const Ident: string; out ARect: TRect; const Default: TRect);
 
Public procedure ReadStrings(const Ident: string; const List: TStrings; const DefaultList: TStrings = nil);
 
Public procedure WriteString(const Ident, Value: string);
 
Public procedure WriteInteger(const Ident: string; Value: Longint);
 
Public procedure WriteBoolean(const Ident: string; Value: Boolean);
 
Public procedure WriteRect(const Ident: string; const Value: TRect);
 
Public procedure WriteStrings(const Ident: string; const List: TStrings);
 
Public procedure EraseSections;
 

Eigenschaften

Public property StoredValue[const AName: string]: TStoredType read GetStoredValue write SetStoredValue;
 
Public property Root: TComponent read GetRoot;
 
Public property Active: Boolean read FActive write FActive default True;
 
Public property StoredValues: TStoredValues read FStoredValues write SetStoredValues;
 
Public property OnSavingProperties: TNotifyEvent read FOnSavingProperties write FOnSavingProperties;
 
Public property OnSaveProperties: TNotifyEvent read FOnSaveProperties write FOnSaveProperties;
 
Public property OnRestoringProperties: TNotifyEvent read FOnRestoringProperties write FOnRestoringProperties;
 
Public property OnRestoreProperties: TNotifyEvent read FOnRestoreProperties write FOnRestoreProperties;
 

Erstellt mit PasDoc 0.10.0 am 2007-03-27 23:03:03