Class TBrookConfigurator

Unit

Declaration

type TBrookConfigurator = class(TBrookComponent)

Description

Configures objects by means of string or file.

Hierarchy

Overview

Methods

Protected function GetTarget: TObject; virtual;
Protected procedure SetTarget(AValue: TObject); virtual;
Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure Configure;

Properties

Public property Target: TObject read GetTarget write SetTarget;
Public property Prop[constAName:string]: string read GetProp write SetProp;
Public property Param[constAName:string]: string read GetParam write SetParam;
Public property IgnoredParams: TStrings read FIgnoredParams write SetIgnoredParams;
Public property Params: TStrings read FParams write SetParams;
Public property AfterConfigure: TBrookConfigureEvent read FAfterConfigure write FAfterConfigure;
Public property BeforeConfgure: TBrookConfigureEvent read FBeforeConfgure write FBeforeConfgure;

Description

Methods

Protected function GetTarget: TObject; virtual;
 
Protected procedure SetTarget(AValue: TObject); virtual;
 
Public constructor Create(AOwner: TComponent); override;

Creates an instance of a TBrookConfigurator class.

Public destructor Destroy; override;

Frees an instance of TBrookConfigurator class.

Public procedure Configure;

Configures the target property.

Properties

Public property Target: TObject read GetTarget write SetTarget;

Defines the object to be configured.

Public property Prop[constAName:string]: string read GetProp write SetProp;

Handles the target properties.

Public property Param[constAName:string]: string read GetParam write SetParam;

Handles a string list of params of a configuration.

Public property IgnoredParams: TStrings read FIgnoredParams write SetIgnoredParams;

Ignored params in the configuration.

Public property Params: TStrings read FParams write SetParams;

Params of the configuration.

Public property AfterConfigure: TBrookConfigureEvent read FAfterConfigure write FAfterConfigure;

Is triggered after configure.

Public property BeforeConfgure: TBrookConfigureEvent read FBeforeConfgure write FBeforeConfgure;

Is triggered before configure.


Generated by PasDoc 0.15.0.