Class tcustomdataimage

Unit

Declaration

type tcustomdataimage = class(timage, igridwidget)

Description

No description available, ancestor timage description follows
No description available, ancestor tscrollingwidget description follows
No description available, ancestor tscrollingwidgetnwr description follows
No description available, ancestor tcustomeventwidgetnwr description follows
No description available, ancestor tpublishedwidgetnwr description follows
No description available, ancestor tactionpublishedwidgetnwr description follows
No description available, ancestor tactionwidget description follows
No description available, ancestor twidget description follows
No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows

Hierarchy

Overview

Fields

Protected fgridintf: iwidgetgrid;
Protected fgriddatalink: pointer;
Protected fvalue: string;
Protected fcurformat: string;
Protected feditstate: dataeditstatesty;
Protected fcache: timagecache;

Methods

Protected function geteditstate: dataeditstatesty;
Protected procedure seteditstate(const avalue: dataeditstatesty);
Protected function getgridintf: iwidgetgrid;
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure setvalue(const avalue: string); virtual;
Protected procedure setformat(const avalue: string);
Protected procedure internaldrawcell(const canvas: tcanvas; const dest: rectty);
Protected procedure initgridwidget; virtual;
Protected function getoptionsedit: optionseditty;
Protected procedure setfirstclick(var ainfo: mouseeventinfoty);
Protected procedure setreadonly(const avalue: boolean);
Protected function createdatalist(const sender: twidgetcol): tdatalist; virtual;
Protected procedure datalistdestroyed;
Protected function getdatalistclass: datalistclassty;
Protected function getdefaultvalue: pointer;
Protected function getrowdatapo(const arow: integer): pointer; virtual;
Protected procedure setgridintf(const intf: iwidgetgrid);
Protected function getcellframe: framety;
Protected function needscellfocuspaint(): boolean;
Protected function getcellcursor(const arow: integer; const acellzone: cellzonety; const apos: pointty): cursorshapety;
Protected procedure updatecellzone(const row: integer; const apos: pointty; var result: cellzonety);
Protected function getnulltext: msestring;
Protected function getassistivecelltext(const arow: int32): msestring;
Protected procedure loadcellbmp(const acanvas: tcanvas; const abmp: tmaskedbitmap); virtual;
Protected procedure drawcell(const canvas: tcanvas);
Protected procedure updateautocellsize(const canvas: tcanvas);
Protected procedure beforecelldragevent(var ainfo: draginfoty; const arow: integer; var handled: boolean); virtual;
Protected procedure aftercelldragevent(var ainfo: draginfoty; const arow: integer; var handled: boolean); virtual;
Protected procedure valuetogrid(row: integer); virtual;
Protected procedure gridtovalue(row: integer); virtual;
Protected procedure setvaluedata(const source); virtual;
Protected procedure getvaluedata(out dest); virtual;
Protected procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); virtual;
Protected function sortfunc(const l,r): integer; virtual;
Protected procedure gridvaluechanged(const index: integer); virtual;
Protected procedure updatecoloptions(const aoptions: coloptionsty);
Protected procedure updatecoloptions1(const aoptions: coloptions1ty);
Protected procedure statdataread; virtual;
Protected procedure griddatasourcechanged; virtual;
Protected function getifilink: tifilinkcomp;
Protected procedure setparentgridwidget(const intf: igridwidget);
Protected procedure childdataentered(const sender: igridwidget); virtual;
Protected procedure childfocused(const sender: igridwidget); virtual;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy(); override;
Public function seteditfocus: boolean;
Public procedure changed; override;
Public function actualcolor: colorty; override;
Public function loadfromstream(const astream: tstream): string;
Public function loadfromfile(const afilename: filenamety): string;
Public procedure storeimage(const aformat: string; const params: array of const);
Public procedure drawimage(const canvas: tcanvas; const cellinfo: pcellinfoty; const dest: rectty);

Properties

Public property value: string read fvalue write setvalue stored false;
Public property gridvalue[index:integer]: string read getgridvalue write setgridvalue;
Public property format: string read fformat write setformat;
Public property cachesize: int32 read getcachesize write setcachesize default 0;
Public property onchange: notifyeventty read fonchange write fonchange;

Description

Fields

Protected fgridintf: iwidgetgrid;
 
Protected fgriddatalink: pointer;
 
Protected fvalue: string;
 
Protected fcurformat: string;
 
Protected feditstate: dataeditstatesty;
 
Protected fcache: timagecache;
 

Methods

Protected function geteditstate: dataeditstatesty;
 
Protected procedure seteditstate(const avalue: dataeditstatesty);
 
Protected function getgridintf: iwidgetgrid;
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected procedure setvalue(const avalue: string); virtual;
 
Protected procedure setformat(const avalue: string);
 
Protected procedure internaldrawcell(const canvas: tcanvas; const dest: rectty);
 
Protected procedure initgridwidget; virtual;
 
Protected function getoptionsedit: optionseditty;
 
Protected procedure setfirstclick(var ainfo: mouseeventinfoty);
 
Protected procedure setreadonly(const avalue: boolean);
 
Protected function createdatalist(const sender: twidgetcol): tdatalist; virtual;
 
Protected procedure datalistdestroyed;
 
Protected function getdatalistclass: datalistclassty;
 
Protected function getdefaultvalue: pointer;
 
Protected function getrowdatapo(const arow: integer): pointer; virtual;
 
Protected procedure setgridintf(const intf: iwidgetgrid);
 
Protected function getcellframe: framety;
 
Protected function needscellfocuspaint(): boolean;
 
Protected function getcellcursor(const arow: integer; const acellzone: cellzonety; const apos: pointty): cursorshapety;
 
Protected procedure updatecellzone(const row: integer; const apos: pointty; var result: cellzonety);
 
Protected function getnulltext: msestring;
 
Protected function getassistivecelltext(const arow: int32): msestring;
 
Protected procedure loadcellbmp(const acanvas: tcanvas; const abmp: tmaskedbitmap); virtual;
 
Protected procedure drawcell(const canvas: tcanvas);
 
Protected procedure updateautocellsize(const canvas: tcanvas);
 
Protected procedure beforecelldragevent(var ainfo: draginfoty; const arow: integer; var handled: boolean); virtual;
 
Protected procedure aftercelldragevent(var ainfo: draginfoty; const arow: integer; var handled: boolean); virtual;
 
Protected procedure valuetogrid(row: integer); virtual;
 
Protected procedure gridtovalue(row: integer); virtual;
 
Protected procedure setvaluedata(const source); virtual;
 
Protected procedure getvaluedata(out dest); virtual;
 
Protected procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); virtual;
 
Protected function sortfunc(const l,r): integer; virtual;
 
Protected procedure gridvaluechanged(const index: integer); virtual;
 
Protected procedure updatecoloptions(const aoptions: coloptionsty);
 
Protected procedure updatecoloptions1(const aoptions: coloptions1ty);
 
Protected procedure statdataread; virtual;
 
Protected procedure griddatasourcechanged; virtual;
 
Protected function getifilink: tifilinkcomp;
 
Protected procedure setparentgridwidget(const intf: igridwidget);
 
Protected procedure childdataentered(const sender: igridwidget); virtual;
 
Protected procedure childfocused(const sender: igridwidget); virtual;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy(); override;
 
Public function seteditfocus: boolean;
 
Public procedure changed; override;
 
Public function actualcolor: colorty; override;
 
Public function loadfromstream(const astream: tstream): string;
 
Public function loadfromfile(const afilename: filenamety): string;
 
Public procedure storeimage(const aformat: string; const params: array of const);
 
Public procedure drawimage(const canvas: tcanvas; const cellinfo: pcellinfoty; const dest: rectty);
 

Properties

Public property value: string read fvalue write setvalue stored false;
 
Public property gridvalue[index:integer]: string read getgridvalue write setgridvalue;
 
Public property format: string read fformat write setformat;
 
Public property cachesize: int32 read getcachesize write setcachesize default 0;
 
Public property onchange: notifyeventty read fonchange write fonchange;
 

Generated by PasDoc 0.16.0.