Class TRegisteredComponent

Unit

Declaration

type TRegisteredComponent = class(TObject)

Description

Describes a component registered using RegisterSerializableComponent, enumerated using RegisteredComponents list.

Source: files/castlecomponentserialize.pas (line 75).

Hierarchy

  • TObject
  • TRegisteredComponent

Overview

Fields

Public ComponentClass: TComponentClass;
Public Caption: array of String;
Public OnCreate: TNotifyEvent;
Public IsDeprecated: Boolean;

Description

Fields

Public ComponentClass: TComponentClass;

Class of the component. Never leave this Nil.

Source: files/castlecomponentserialize.pas (line 78).

Public Caption: array of String;

Nice caption to show user in the editor.

Source: files/castlecomponentserialize.pas (line 80).

Public OnCreate: TNotifyEvent;

Called by the editor always after creating this component.

Source: files/castlecomponentserialize.pas (line 82).

Public IsDeprecated: Boolean;

Should correspond to whether class is declared as "deprecated" in Pascal (we cannot get it using RTTI for now).

Source: files/castlecomponentserialize.pas (line 85).


Generated by PasDoc 0.17.0.snapshot.