Class tgraphdataedit

Unit

Declaration

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

Description

This item has no description.

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: iificlient; 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;

This item has no description.

Protected fgridintf: iwidgetgrid;

This item has no description.

Protected fgriddatalink: pointer;

This item has no description.

Protected fparentintf: igridwidget;

This item has no description.

Protected fstate: dataeditstatesty;

This item has no description.

Protected fifilink: tifivaluelinkcomp;

This item has no description.

Methods

Protected function getdefaultifilink: iificlient; override;

This item has no description.

Protected procedure ifisetvalue(var avalue; var accept: boolean);

This item has no description.

Protected procedure getifivalue(var avalue) virtual;

This item has no description.

Protected procedure setifivalue(const avalue) virtual;

This item has no description.

Protected function getifilinkkind: ptypeinfo;

This item has no description.

Protected procedure setifilink(const avalue: tifilinkcomp);

This item has no description.

Protected function getifilink: tifilinkcomp;

This item has no description.

Protected function getifidatatype(): listdatatypety override;

This item has no description.

Protected procedure updateifigriddata(const sender: tobject; const alist: tdatalist);

This item has no description.

Protected function getgriddata: tdatalist;

This item has no description.

Protected function getvalueprop: ppropinfo;

This item has no description.

Protected function getiassistiveclient(): iassistiveclient override;

This item has no description.

Protected function getifidatalinkintf(): iifidatalink; override;

This item has no description.

Protected function getassistiveflags: assistiveflagsty; override;

This item has no description.

Protected function getassistivecolumncaption(): msestring virtual;

This item has no description.

Protected function getedited: boolean; virtual;

This item has no description.

Protected function geteditstate: dataeditstatesty;

This item has no description.

Protected procedure seteditstate(const avalue: dataeditstatesty);

This item has no description.

Protected function getoptionsedit: optionseditty; virtual;

This item has no description.

Protected procedure updateoptions; virtual;

This item has no description.

Protected procedure loaded; override;

This item has no description.

Protected procedure internalcreateframe; override;

This item has no description.

Protected procedure enabledchanged() override;

This item has no description.

Protected procedure setenabled(const avalue: boolean); override;

This item has no description.

Protected procedure dofocus; override;

This item has no description.

Protected function getgridintf: iwidgetgrid;

This item has no description.

Protected procedure checkgrid;

This item has no description.

Protected function checkgriddata: tdatalist;

This item has no description.

Protected procedure internalfillcol(const value);

This item has no description.

Protected procedure internalassigncol(const value);

This item has no description.

Protected procedure internalgetgridvalue(index: integer; out value);

This item has no description.

Protected procedure internalsetgridvalue(index: integer; const avalue);

This item has no description.

Protected procedure dochange; virtual;

This item has no description.

Protected function docheckvalue(var avalue; const quiet: boolean): boolean; virtual;

This item has no description.

Protected procedure valuechanged; virtual;

This item has no description.

Protected procedure modified; virtual;

This item has no description.

Protected procedure formatchanged();

This item has no description.

Protected procedure dopaintforeground(const canvas: tcanvas); override;

This item has no description.

Protected function needsfocuspaint: boolean; override;

This item has no description.

Protected procedure internalcheckvalue(var avalue; var accept: boolean); virtual; abstract;

This item has no description.

Protected procedure paintglyph(const canvas: tcanvas; const acolorglyph: colorty; const avalue; const arect: rectty); virtual; abstract;

This item has no description.

Protected procedure dofontheightdelta(var delta: integer); override;

This item has no description.

Protected procedure sizechanged; override;

This item has no description.

Protected procedure updatereadonlystate; virtual;

This item has no description.

Protected procedure initeditfocus;

This item has no description.

Protected procedure updatedatalist; virtual;

This item has no description.

Protected procedure setfirstclick(var ainfo: mouseeventinfoty);

This item has no description.

Protected function createdatalist(const sender: twidgetcol): tdatalist; virtual; abstract;

This item has no description.

Protected procedure datalistdestroyed; virtual;

This item has no description.

Protected function getdatalistclass: datalistclassty; virtual; abstract;

This item has no description.

Protected function getdefaultvalue: pointer; virtual;

This item has no description.

Protected function getrowdatapo(const arow: integer): pointer; virtual;

This item has no description.

Protected procedure setgridintf(const intf: iwidgetgrid); virtual;

This item has no description.

Protected function getcellframe: framety; virtual;

This item has no description.

Protected function needscellfocuspaint(): boolean;

This item has no description.

Protected function getcellcursor(const arow: integer; const acellzone: cellzonety; const apos: pointty): cursorshapety; virtual;

This item has no description.

Protected procedure updatecellzone(const arow: integer; const apos: pointty; var result: cellzonety); virtual;

This item has no description.

Protected procedure drawcell(const canvas: tcanvas);

This item has no description.

Protected procedure updateautocellsize(const canvas: tcanvas); virtual;

This item has no description.

Protected procedure beforecelldragevent(var ainfo: draginfoty; const arow: integer; var handled: boolean); virtual;

This item has no description.

Protected procedure aftercelldragevent(var ainfo: draginfoty; const arow: integer; var handled: boolean); virtual;

This item has no description.

Protected procedure valuetogrid(row: integer); virtual; abstract;

This item has no description.

Protected procedure gridtovalue(row: integer); virtual;

This item has no description.

Protected procedure setvaluedata(const source); virtual; abstract;

This item has no description.

Protected procedure getvaluedata(out dest); virtual; abstract;

This item has no description.

Protected function getnulltext: msestring; virtual;

This item has no description.

Protected function getassistivecelltext(const arow: int32): msestring; virtual;

This item has no description.

Protected procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); virtual;

This item has no description.

Protected function sortfunc(const l,r): integer; virtual;

This item has no description.

Protected procedure gridvaluechanged(const index: integer); virtual;

This item has no description.

Protected procedure updatecoloptions(const aoptions: coloptionsty);

This item has no description.

Protected procedure updatecoloptions1(const aoptions: coloptions1ty);

This item has no description.

Protected procedure statdataread; virtual;

This item has no description.

Protected procedure griddatasourcechanged; virtual;

This item has no description.

Protected procedure fontchanged; override;

This item has no description.

Protected procedure setparentgridwidget(const intf: igridwidget);

This item has no description.

Protected procedure childdataentered(const sender: igridwidget); virtual;

This item has no description.

Protected procedure childfocused(const sender: igridwidget); virtual;

This item has no description.

Protected procedure dostatread(const reader: tstatreader);

This item has no description.

Protected procedure dostatwrite(const writer: tstatwriter);

This item has no description.

Protected procedure statreading;

This item has no description.

Protected procedure statread;

This item has no description.

Protected function getstatvarname: msestring;

This item has no description.

Protected function getstatpriority: integer;

This item has no description.

Protected procedure readstatvalue(const reader: tstatreader); virtual;

This item has no description.

Protected procedure writestatvalue(const writer: tstatwriter); virtual;

This item has no description.

Protected procedure readstatstate(const reader: tstatreader); virtual;

This item has no description.

Protected procedure writestatstate(const writer: tstatwriter); virtual;

This item has no description.

Protected procedure readstatoptions(const reader: tstatreader); virtual;

This item has no description.

Protected procedure writestatoptions(const writer: tstatwriter); virtual;

This item has no description.

Public constructor create(aowner: tcomponent); override;

This item has no description.

Public procedure initnewcomponent(const ascale: real); override;

This item has no description.

Public procedure initnewwidget(const ascale: real); override;

This item has no description.

Public procedure initgridwidget; virtual;

This item has no description.

Public procedure paint(const canvas: tcanvas); override;

This item has no description.

Public function actualcolor: colorty; override;

This item has no description.

Public function widgetcol: twidgetcol;

This item has no description.

Public function grid: tcustomwidgetgrid;

This item has no description.

Public function gridrow: integer;

This item has no description.

Public function gridrowhigh: int32;

This item has no description.

Public function griddatarowhigh: int32;

This item has no description.

Public function gridcol: integer;

This item has no description.

Public function griddata: tdatalist;

This item has no description.

Public function checkvalue(const quiet: boolean = false): boolean virtual abstract;

This item has no description.

Public function seteditfocus: boolean;

This item has no description.

Properties

Public property edited: boolean read getedited write setedited;

This item has no description.

Public property objectlinker: tobjectlinker read getobjectlinker ;

This item has no description.

Public property colorglyph: colorty read fcolorglyph write setcolorglyph default cl_default;

This item has no description.

Public property readonly: boolean read getreadonly write setreadonly;

This item has no description.

Published property statfile: tstatfile read fstatfile write setstatfile;

This item has no description.

Published property statvarname: msestring read getstatvarname write fstatvarname;

This item has no description.

Published property statpriority: integer read fstatpriority write fstatpriority default 0;

This item has no description.

Published property optionsedit: optionseditty read getoptionsedit write setoptionsedit default defaultoptionsedit;

This item has no description.

Published property optionsedit1: optionsedit1ty read foptionsedit1 write setoptionsedit1 default defaultoptionsedit1;

This item has no description.

Published property onchange: notifyeventty read fonchange write fonchange;

This item has no description.

Published property ondataentered: notifyeventty read fondataentered write fondataentered;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.