Class tgraphdataedit

Unit

Declaration

type tgraphdataedit = class(tactionpublishedwidget, igridwidget, istatfile, iassistiveclientgridwidget, iifidatalink)

Description

No description available, ancestor tactionpublishedwidget 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 fdatalist: tdatalist;
Protected fgridintf: iwidgetgrid;
Protected fgriddatalink: pointer;
Protected fparentintf: igridwidget;
Protected fstate: dataeditstatesty;
Protected fifilink: tifivaluelinkcomp;

Methods

Protected function getdefaultifilink: iifilink; override;
Protected procedure ifisetvalue(var avalue; var accept: boolean);
Protected procedure getifivalue(var avalue) virtual;
Protected procedure setifivalue(const avalue) virtual;
Protected function getifilinkkind: ptypeinfo;
Protected procedure setifilink(const avalue: tifilinkcomp);
Protected function getifilink: tifilinkcomp;
Protected function getifidatatype(): listdatatypety override;
Protected procedure updateifigriddata(const sender: tobject; const alist: tdatalist);
Protected function getgriddata: tdatalist;
Protected function getvalueprop: ppropinfo;
Protected function getiassistiveclient(): iassistiveclient override;
Protected function getifidatalinkintf(): iifidatalink; override;
Protected function getassistiveflags: assistiveflagsty; override;
Protected function getassistivecolumncaption(): msestring virtual;
Protected function getedited: boolean; virtual;
Protected function geteditstate: dataeditstatesty;
Protected procedure seteditstate(const avalue: dataeditstatesty);
Protected function getoptionsedit: optionseditty; virtual;
Protected procedure updateoptions; virtual;
Protected procedure loaded; override;
Protected procedure internalcreateframe; override;
Protected procedure enabledchanged() override;
Protected procedure setenabled(const avalue: boolean); override;
Protected procedure dofocus; override;
Protected function getgridintf: iwidgetgrid;
Protected procedure checkgrid;
Protected function checkgriddata: tdatalist;
Protected procedure internalfillcol(const value);
Protected procedure internalassigncol(const value);
Protected procedure internalgetgridvalue(index: integer; out value);
Protected procedure internalsetgridvalue(index: integer; const avalue);
Protected procedure dochange; virtual;
Protected function docheckvalue(var avalue; const quiet: boolean): boolean; virtual;
Protected procedure valuechanged; virtual;
Protected procedure modified; virtual;
Protected procedure formatchanged();
Protected procedure dopaintforeground(const canvas: tcanvas); override;
Protected function needsfocuspaint: boolean; override;
Protected procedure internalcheckvalue(var avalue; var accept: boolean); virtual; abstract;
Protected procedure paintglyph(const canvas: tcanvas; const acolorglyph: colorty; const avalue; const arect: rectty); virtual; abstract;
Protected procedure dofontheightdelta(var delta: integer); override;
Protected procedure sizechanged; override;
Protected procedure updatereadonlystate; virtual;
Protected procedure initeditfocus;
Protected procedure updatedatalist; virtual;
Protected procedure setfirstclick(var ainfo: mouseeventinfoty);
Protected function createdatalist(const sender: twidgetcol): tdatalist; virtual; abstract;
Protected procedure datalistdestroyed; virtual;
Protected function getdatalistclass: datalistclassty; virtual; abstract;
Protected function getdefaultvalue: pointer; virtual;
Protected function getrowdatapo(const arow: integer): pointer; virtual;
Protected procedure setgridintf(const intf: iwidgetgrid); virtual;
Protected function getcellframe: framety; virtual;
Protected function needscellfocuspaint(): boolean;
Protected function getcellcursor(const arow: integer; const acellzone: cellzonety; const apos: pointty): cursorshapety; virtual;
Protected procedure updatecellzone(const arow: integer; const apos: pointty; var result: cellzonety); virtual;
Protected procedure drawcell(const canvas: tcanvas);
Protected procedure updateautocellsize(const canvas: tcanvas); virtual;
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; abstract;
Protected procedure gridtovalue(row: integer); virtual;
Protected procedure setvaluedata(const source); virtual; abstract;
Protected procedure getvaluedata(out dest); virtual; abstract;
Protected function getnulltext: msestring; virtual;
Protected function getassistivecelltext(const arow: int32): msestring; 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 procedure fontchanged; override;
Protected procedure setparentgridwidget(const intf: igridwidget);
Protected procedure childdataentered(const sender: igridwidget); virtual;
Protected procedure childfocused(const sender: igridwidget); virtual;
Protected procedure dostatread(const reader: tstatreader);
Protected procedure dostatwrite(const writer: tstatwriter);
Protected procedure statreading;
Protected procedure statread;
Protected function getstatvarname: msestring;
Protected function getstatpriority: integer;
Protected procedure readstatvalue(const reader: tstatreader); virtual;
Protected procedure writestatvalue(const writer: tstatwriter); virtual;
Protected procedure readstatstate(const reader: tstatreader); virtual;
Protected procedure writestatstate(const writer: tstatwriter); virtual;
Protected procedure readstatoptions(const reader: tstatreader); virtual;
Protected procedure writestatoptions(const writer: tstatwriter); virtual;
Public constructor create(aowner: tcomponent); override;
Public procedure initnewcomponent(const ascale: real); override;
Public procedure initnewwidget(const ascale: real); override;
Public procedure initgridwidget; virtual;
Public procedure paint(const canvas: tcanvas); override;
Public function actualcolor: colorty; override;
Public function widgetcol: twidgetcol;
Public function grid: tcustomwidgetgrid;
Public function gridrow: integer;
Public function gridrowhigh: int32;
Public function griddatarowhigh: int32;
Public function gridcol: integer;
Public function griddata: tdatalist;
Public function checkvalue(const quiet: boolean = false): boolean virtual abstract;
Public function seteditfocus: boolean;

Properties

Public property edited: boolean read getedited write setedited;
Public property objectlinker: tobjectlinker read getobjectlinker ;
Public property colorglyph: colorty read fcolorglyph write setcolorglyph default cl_default;
Public property readonly: boolean read getreadonly write setreadonly;
Published property statfile: tstatfile read fstatfile write setstatfile;
Published property statvarname: msestring read getstatvarname write fstatvarname;
Published property statpriority: integer read fstatpriority write fstatpriority default 0;
Published property optionsedit: optionseditty read getoptionsedit write setoptionsedit default defaultoptionsedit;
Published property optionsedit1: optionsedit1ty read foptionsedit1 write setoptionsedit1 default defaultoptionsedit1;
Published property onchange: notifyeventty read fonchange write fonchange;
Published property ondataentered: notifyeventty read fondataentered write fondataentered;

Description

Fields

Protected fdatalist: tdatalist;
 
Protected fgridintf: iwidgetgrid;
 
Protected fgriddatalink: pointer;
 
Protected fparentintf: igridwidget;
 
Protected fstate: dataeditstatesty;
 
Protected fifilink: tifivaluelinkcomp;
 

Methods

Protected function getdefaultifilink: iifilink; override;
 
Protected procedure ifisetvalue(var avalue; var accept: boolean);
 
Protected procedure getifivalue(var avalue) virtual;
 
Protected procedure setifivalue(const avalue) virtual;
 
Protected function getifilinkkind: ptypeinfo;
 
Protected procedure setifilink(const avalue: tifilinkcomp);
 
Protected function getifilink: tifilinkcomp;
 
Protected function getifidatatype(): listdatatypety override;
 
Protected procedure updateifigriddata(const sender: tobject; const alist: tdatalist);
 
Protected function getgriddata: tdatalist;
 
Protected function getvalueprop: ppropinfo;
 
Protected function getiassistiveclient(): iassistiveclient override;
 
Protected function getifidatalinkintf(): iifidatalink; override;
 
Protected function getassistiveflags: assistiveflagsty; override;
 
Protected function getassistivecolumncaption(): msestring virtual;
 
Protected function getedited: boolean; virtual;
 
Protected function geteditstate: dataeditstatesty;
 
Protected procedure seteditstate(const avalue: dataeditstatesty);
 
Protected function getoptionsedit: optionseditty; virtual;
 
Protected procedure updateoptions; virtual;
 
Protected procedure loaded; override;
 
Protected procedure internalcreateframe; override;
 
Protected procedure enabledchanged() override;
 
Protected procedure setenabled(const avalue: boolean); override;
 
Protected procedure dofocus; override;
 
Protected function getgridintf: iwidgetgrid;
 
Protected procedure checkgrid;
 
Protected function checkgriddata: tdatalist;
 
Protected procedure internalfillcol(const value);
 
Protected procedure internalassigncol(const value);
 
Protected procedure internalgetgridvalue(index: integer; out value);
 
Protected procedure internalsetgridvalue(index: integer; const avalue);
 
Protected procedure dochange; virtual;
 
Protected function docheckvalue(var avalue; const quiet: boolean): boolean; virtual;
 
Protected procedure valuechanged; virtual;
 
Protected procedure modified; virtual;
 
Protected procedure formatchanged();
 
Protected procedure dopaintforeground(const canvas: tcanvas); override;
 
Protected function needsfocuspaint: boolean; override;
 
Protected procedure internalcheckvalue(var avalue; var accept: boolean); virtual; abstract;
 
Protected procedure paintglyph(const canvas: tcanvas; const acolorglyph: colorty; const avalue; const arect: rectty); virtual; abstract;
 
Protected procedure dofontheightdelta(var delta: integer); override;
 
Protected procedure sizechanged; override;
 
Protected procedure updatereadonlystate; virtual;
 
Protected procedure initeditfocus;
 
Protected procedure updatedatalist; virtual;
 
Protected procedure setfirstclick(var ainfo: mouseeventinfoty);
 
Protected function createdatalist(const sender: twidgetcol): tdatalist; virtual; abstract;
 
Protected procedure datalistdestroyed; virtual;
 
Protected function getdatalistclass: datalistclassty; virtual; abstract;
 
Protected function getdefaultvalue: pointer; virtual;
 
Protected function getrowdatapo(const arow: integer): pointer; virtual;
 
Protected procedure setgridintf(const intf: iwidgetgrid); virtual;
 
Protected function getcellframe: framety; virtual;
 
Protected function needscellfocuspaint(): boolean;
 
Protected function getcellcursor(const arow: integer; const acellzone: cellzonety; const apos: pointty): cursorshapety; virtual;
 
Protected procedure updatecellzone(const arow: integer; const apos: pointty; var result: cellzonety); virtual;
 
Protected procedure drawcell(const canvas: tcanvas);
 
Protected procedure updateautocellsize(const canvas: tcanvas); virtual;
 
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; abstract;
 
Protected procedure gridtovalue(row: integer); virtual;
 
Protected procedure setvaluedata(const source); virtual; abstract;
 
Protected procedure getvaluedata(out dest); virtual; abstract;
 
Protected function getnulltext: msestring; virtual;
 
Protected function getassistivecelltext(const arow: int32): msestring; 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 procedure fontchanged; override;
 
Protected procedure setparentgridwidget(const intf: igridwidget);
 
Protected procedure childdataentered(const sender: igridwidget); virtual;
 
Protected procedure childfocused(const sender: igridwidget); virtual;
 
Protected procedure dostatread(const reader: tstatreader);
 
Protected procedure dostatwrite(const writer: tstatwriter);
 
Protected procedure statreading;
 
Protected procedure statread;
 
Protected function getstatvarname: msestring;
 
Protected function getstatpriority: integer;
 
Protected procedure readstatvalue(const reader: tstatreader); virtual;
 
Protected procedure writestatvalue(const writer: tstatwriter); virtual;
 
Protected procedure readstatstate(const reader: tstatreader); virtual;
 
Protected procedure writestatstate(const writer: tstatwriter); virtual;
 
Protected procedure readstatoptions(const reader: tstatreader); virtual;
 
Protected procedure writestatoptions(const writer: tstatwriter); virtual;
 
Public constructor create(aowner: tcomponent); override;
 
Public procedure initnewcomponent(const ascale: real); override;
 
Public procedure initnewwidget(const ascale: real); override;
 
Public procedure initgridwidget; virtual;
 
Public procedure paint(const canvas: tcanvas); override;
 
Public function actualcolor: colorty; override;
 
Public function widgetcol: twidgetcol;
 
Public function grid: tcustomwidgetgrid;
 
Public function gridrow: integer;
 
Public function gridrowhigh: int32;
 
Public function griddatarowhigh: int32;
 
Public function gridcol: integer;
 
Public function griddata: tdatalist;
 
Public function checkvalue(const quiet: boolean = false): boolean virtual abstract;
 
Public function seteditfocus: boolean;
 

Properties

Public property edited: boolean read getedited write setedited;
 
Public property objectlinker: tobjectlinker read getobjectlinker ;
 
Public property colorglyph: colorty read fcolorglyph write setcolorglyph default cl_default;
 
Public property readonly: boolean read getreadonly write setreadonly;
 
Published property statfile: tstatfile read fstatfile write setstatfile;
 
Published property statvarname: msestring read getstatvarname write fstatvarname;
 
Published property statpriority: integer read fstatpriority write fstatpriority default 0;
 
Published property optionsedit: optionseditty read getoptionsedit write setoptionsedit default defaultoptionsedit;
 
Published property optionsedit1: optionsedit1ty read foptionsedit1 write setoptionsedit1 default defaultoptionsedit1;
 
Published property onchange: notifyeventty read fonchange write fonchange;
 
Published property ondataentered: notifyeventty read fondataentered write fondataentered;
 

Generated by PasDoc 0.16.0.