Class tmsecomponent

Unit

Declaration

type tmsecomponent = class(tcomponent, ievent, iificommand, iificlient)

Description

Hierarchy

Overview

Fields

Protected fmsecomponentstate: msecomponentstatesty;
Protected fobjectlinker: tobjectlinker;
Protected factualclassname: pshortstring;
Protected fancestorclassname: string;
Protected fhelpcontext: msestring;
Protected fifiserverintf: iifiserver;

Methods

Protected procedure setifiserverintf(const aintf: iifiserver);
Protected function getdefaultifilink: iificlient; virtual;
Protected function getifidatatype: listdatatypety virtual;
Protected procedure executeificommand(var acommand: ificommandcodety); virtual;
Protected function getancestorclassname: string;
Protected function getmsecomponentstate: msecomponentstatesty;
Protected function getobjectlinker: tobjectlinker;
Protected procedure objectevent(const sender: tobject; const event: objecteventty); virtual;
Protected procedure dobeginread; virtual;
Protected procedure doendread; virtual;
Protected procedure readstate(reader: treader); override;
Protected procedure loaded; override;
Protected procedure validaterename(acomponent: tcomponent; const curname, newname: string); override;
Protected procedure setchildorder(child: tcomponent; order: integer); override;
Protected procedure sendchangeevent(const aevent: objecteventty = oe_changed);
Protected function linkcount: integer;
Protected function candestroyevent(const event: tmethod): boolean;
Protected function gethelpcontext: msestring; virtual;
Protected class function classskininfo: skininfoty; virtual;
Protected function skininfo: skininfoty; virtual;
Protected function hasskin: boolean; virtual;
Protected function getcomponentinstance: tcomponent;
Protected procedure getcompchildren(const proc: tgetchildproc; const root: tcomponent);
Protected procedure link(const source,dest: iobjectlink; valuepo: pointer = nil; ainterfacetype: pointer = nil; once: boolean = false);
Protected procedure unlink(const source,dest: iobjectlink; valuepo: pointer = nil); virtual;
Protected procedure objevent(const sender: iobjectlink; const event: objecteventty); virtual;
Protected function getinstance: tobject;
Protected function getcomponent: tcomponent;
Protected procedure receiveevent(const event: tobjectevent); virtual;
Protected procedure designselected(const selected: boolean); virtual;
Protected procedure setlinkedvar(const source: iobjectlink; var dest: iobjectlink; const linkintf: iobjectlink = nil); overload;
Protected procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil); overload;
Protected procedure setlinkedvar(const source: tlinkedobject; var dest: tlinkedobject; const linkintf: iobjectlink = nil); overload;
Protected procedure setlinkedvar(const source: tlinkedpersistent; var dest: tlinkedpersistent; const linkintf: iobjectlink = nil); overload;
Protected function getactualclassname: string;
Protected class function getmoduleclassname: string; virtual;
Protected class function hasresource: boolean; virtual;
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure componentevent(const event: tcomponentevent); virtual;
Protected procedure doasyncevent(var atag: integer); virtual;
Protected procedure doafterload; virtual;
Public destructor destroy; override;
Public procedure writestate(writer: twriter); override;
Public procedure updateskin(const recursive: boolean = false); virtual;
Public function loading: boolean; reintroduce;
Public procedure setsubcompref;
Public function canevent(const event: tmethod): boolean;
Public procedure setoptionalobject(const value: tpersistent; var instance; createproc: createprocty);
Public procedure getoptionalobject(const instance: tobject; createproc: createprocty);
Public function getcorbainterface(const aintf: ptypeinfo; out obj) : boolean;
Public procedure initnewcomponent(const ascale: real); virtual;
Public function checkowned(component: tcomponent): boolean;
Public function checkowner(component: tcomponent): boolean;
Public function rootowner: tcomponent;
Public function getrootcomponentpath: componentarty;
Public function linkedobjects: objectarty;
Public procedure sendcomponentevent(const event: tcomponentevent; const destroyevent: boolean = true);
Public procedure sendrootcomponentevent(const event: tcomponentevent; const destroyevent: boolean = true);
Public procedure asyncevent(atag: integer = 0; const aoptions: posteventoptionsty = []);
Public procedure postcomponentevent(const event: tcomponentevent; const aoptions: posteventoptionsty = []);

Properties

Public property moduleclassname: string read getmoduleclassname;
Public property actualclassname: string read getactualclassname;
Public property msecomponentstate: msecomponentstatesty read fmsecomponentstate;
Public property onbeforeupdateskin: notifyeventty read fonbeforeupdateskin write fonbeforeupdateskin;
Public property onafterupdateskin: notifyeventty read fonafterupdateskin write fonafterupdateskin;
Published property helpcontext: msestring read gethelpcontext write fhelpcontext;

Description

Fields

Protected fmsecomponentstate: msecomponentstatesty;
 
Protected fobjectlinker: tobjectlinker;
 
Protected factualclassname: pshortstring;
 
Protected fancestorclassname: string;
 
Protected fhelpcontext: msestring;
 
Protected fifiserverintf: iifiserver;
 

Methods

Protected procedure setifiserverintf(const aintf: iifiserver);
 
Protected function getdefaultifilink: iificlient; virtual;
 
Protected function getifidatatype: listdatatypety virtual;
 
Protected procedure executeificommand(var acommand: ificommandcodety); virtual;
 
Protected function getancestorclassname: string;
 
Protected function getmsecomponentstate: msecomponentstatesty;
 
Protected function getobjectlinker: tobjectlinker;
 
Protected procedure objectevent(const sender: tobject; const event: objecteventty); virtual;
 
Protected procedure dobeginread; virtual;
 
Protected procedure doendread; virtual;
 
Protected procedure readstate(reader: treader); override;
 
Protected procedure loaded; override;
 
Protected procedure validaterename(acomponent: tcomponent; const curname, newname: string); override;
 
Protected procedure setchildorder(child: tcomponent; order: integer); override;
 
Protected procedure sendchangeevent(const aevent: objecteventty = oe_changed);
 
Protected function linkcount: integer;
 
Protected function candestroyevent(const event: tmethod): boolean;
 
Protected function gethelpcontext: msestring; virtual;
 
Protected class function classskininfo: skininfoty; virtual;
 
Protected function skininfo: skininfoty; virtual;
 
Protected function hasskin: boolean; virtual;
 
Protected function getcomponentinstance: tcomponent;
 
Protected procedure getcompchildren(const proc: tgetchildproc; const root: tcomponent);
 
Protected procedure link(const source,dest: iobjectlink; valuepo: pointer = nil; ainterfacetype: pointer = nil; once: boolean = false);
 
Protected procedure unlink(const source,dest: iobjectlink; valuepo: pointer = nil); virtual;
 
Protected procedure objevent(const sender: iobjectlink; const event: objecteventty); virtual;
 
Protected function getinstance: tobject;
 
Protected function getcomponent: tcomponent;
 
Protected procedure receiveevent(const event: tobjectevent); virtual;
 
Protected procedure designselected(const selected: boolean); virtual;
 
Protected procedure setlinkedvar(const source: iobjectlink; var dest: iobjectlink; const linkintf: iobjectlink = nil); overload;
 
Protected procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil); overload;
 
Protected procedure setlinkedvar(const source: tlinkedobject; var dest: tlinkedobject; const linkintf: iobjectlink = nil); overload;
 
Protected procedure setlinkedvar(const source: tlinkedpersistent; var dest: tlinkedpersistent; const linkintf: iobjectlink = nil); overload;
 
Protected function getactualclassname: string;
 
Protected class function getmoduleclassname: string; virtual;
 
Protected class function hasresource: boolean; virtual;
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected procedure componentevent(const event: tcomponentevent); virtual;
 
Protected procedure doasyncevent(var atag: integer); virtual;
 
Protected procedure doafterload; virtual;
 
Public destructor destroy; override;
 
Public procedure writestate(writer: twriter); override;
 
Public procedure updateskin(const recursive: boolean = false); virtual;
 
Public function loading: boolean; reintroduce;
 
Public procedure setsubcompref;
 
Public function canevent(const event: tmethod): boolean;
 
Public procedure setoptionalobject(const value: tpersistent; var instance; createproc: createprocty);
 
Public procedure getoptionalobject(const instance: tobject; createproc: createprocty);
 
Public function getcorbainterface(const aintf: ptypeinfo; out obj) : boolean;
 
Public procedure initnewcomponent(const ascale: real); virtual;
 
Public function checkowned(component: tcomponent): boolean;
 
Public function checkowner(component: tcomponent): boolean;
 
Public function rootowner: tcomponent;
 
Public function getrootcomponentpath: componentarty;
 
Public function linkedobjects: objectarty;
 
Public procedure sendcomponentevent(const event: tcomponentevent; const destroyevent: boolean = true);
 
Public procedure sendrootcomponentevent(const event: tcomponentevent; const destroyevent: boolean = true);
 
Public procedure asyncevent(atag: integer = 0; const aoptions: posteventoptionsty = []);
 
Public procedure postcomponentevent(const event: tcomponentevent; const aoptions: posteventoptionsty = []);
 

Properties

Public property moduleclassname: string read getmoduleclassname;
 
Public property actualclassname: string read getactualclassname;
 
Public property msecomponentstate: msecomponentstatesty read fmsecomponentstate;
 
Public property onbeforeupdateskin: notifyeventty read fonbeforeupdateskin write fonbeforeupdateskin;
 
Public property onafterupdateskin: notifyeventty read fonafterupdateskin write fonafterupdateskin;
 
Published property helpcontext: msestring read gethelpcontext write fhelpcontext;
 

Generated by PasDoc 0.16.0.