Class ttreeitemeditlist

Unit

Declaration

type ttreeitemeditlist = class(tcustomitemeditlist)

Description

No description available, ancestor tcustomitemeditlist description follows
No description available, ancestor tcustomitemlist description follows
No description available, ancestor tobjectdatalist description follows
No description available, ancestor tdynamicpointerdatalist description follows
No description available, ancestor tdynamicdatalist description follows
No description available, ancestor tdatalist description follows
No description available, ancestor tlinkedpersistent description follows
No description available, ancestor tnullinterfacedpersistent description follows
No description available, ancestor tvirtualpersistent description follows

Hierarchy

Overview

Methods

Protected procedure freedata(var data); override;
Protected procedure docreateobject(var instance: tobject); override;
Protected procedure createitem(out item: tlistitem); override;
Protected procedure nodenotification(const sender: tlistitem; var ainfo: nodeactioninfoty); override;
Protected function compare(const l,r): integer; override;
Protected procedure statreaditem(const reader: tstatreader; var aitem: tlistitem); override;
Protected procedure statwriteitem(const writer: tstatwriter; const aitem: tlistitem); override;
Protected procedure readstate(const reader; const acount: integer; const aname: msestring); override;
Protected procedure writestate(const writer; const name: msestring); override;
Protected procedure beforedragevent(var ainfo: draginfoty; const arow: integer; var processed: boolean);
Protected procedure afterdragevent(var ainfo: draginfoty; const arow: integer; var processed: boolean);
Public constructor create; overload; override;
Public constructor create(const intf: iitemlist; const aowner: ttreeitemedit); reintroduce; overload;
Public procedure beginupdate; override;
Public procedure endupdate; override;
Public procedure change(const index: integer); override;
Public procedure deleteitems(index,acount: integer); override;
Public procedure insertitems(index,acount: integer); override;
Public procedure assign(const root: ttreelistedititem; const freeroot: boolean = true); reintroduce; overload;
Public procedure assign(const aitems: treelistedititemarty); reintroduce; overload;
Public procedure add(const anode: ttreelistedititem; const freeroot: boolean = true); overload;
Public procedure add(const anodes: treelistedititemarty); overload;
Public procedure add(const acount: integer; aitemclass: treelistedititemclassty = nil); overload;
Public procedure addchildren(const anode: ttreelistedititem);
Public procedure insert(const aindex: integer;const anode: ttreelistedititem; const freeroot: boolean = true);
Public procedure delete(const aindex: integer);
Public procedure readnode(const aname: msestring; const reader: tstatreader; const anode: ttreelistitem);
Public procedure writenode(const aname: msestring; const writer: tstatwriter; const anode: ttreelistitem);
Public procedure updatenode(const aname: msestring; const filer: tstatfiler; const anode: ttreelistitem);
Public function toplevelnodes: treelistedititemarty;
Public function getnodes(const must: nodestatesty; const mustnot: nodestatesty; const amode: getnodemodety = gno_matching): treelistitemarty;
Public function getselectednodes(const amode: getnodemodety = gno_matching): treelistitemarty;
Public function getcheckednodes(const amode: getnodemodety = gno_matching): treelistitemarty;
Public procedure updatechildcheckedtree;
Public procedure updatechildnotcheckedtree;
Public procedure updateparentnotcheckedtree;
Public procedure expandall;
Public procedure collapseall;
Public procedure moverow(const source,dest: integer);

Properties

Public property itemclass: treelistedititemclassty read getitemclass write setitemclass;
Public property items[constindex:integer]: ttreelistedititem read getitems1 write setitems;
Public property expandedstate: expandedinfoarty read getexpandedstate write setexpandedstate;
Public property rootnode: ttreelistedititem read frootnode write setrootnode;
Public property insertparent: ttreelistedititem read finsertparent;
Public property insertparentindex: integer read finsertparentindex;
Published property colorglyph;
Published property colorglyphactive;
Published property boxglyph_versionactive;
Published property boxglyph_checkbox;
Published property boxglyph_checkboxchecked;
Published property boxglyph_checkboxparentnotchecked;
Published property boxglyph_checkboxchildchecked;
Published property imnr_base;
Published property imnr_expanded;
Published property imnr_selected;
Published property imnr_readonly;
Published property imnr_checked;
Published property imnr_subitems;
Published property imnr_focused;
Published property imnr_active;
Published property imagelist;
Published property imagewidth;
Published property imageheight;
Published property imagealignment;
Published property defaultnodestate;
Published property captionpos;
Published property fonts;
Published property options;
Published property onitemnotification;
Published property colorline: colorty read fcolorline write setcolorline default cl_treeline;
Published property colorlineactive: colorty read fcolorlineactive write setcolorlineactive default cl_treelineactive;
Published property boxglyph_empty: stockglyphty read getboxglyph_empty write setboxglyph_empty default stg_box;
Published property boxglyph_expand: stockglyphty read getboxglyph_expand write setboxglyph_expand default stg_boxexpand;
Published property boxglyph_expanded: stockglyphty read getboxglyph_expanded write setboxglyph_expanded default stg_boxexpanded;
Published property oncreateitem: createtreelistitemeventty read getoncreateitem write setoncreateitem;
Published property onstatwriteitem: statwritetreeitemeventty read getonstatwriteitem write setonstatwriteitem;
Published property onstatreaditem: statreadtreeitemeventty read getonstatreaditem write setonstatreaditem;
Published property onstatwrite;
Published property onstatread;
Published property ondragbegin: treeitemdragbegineventty read fondragbegin write fondragbegin;
Published property ondragover: treeitemdragovereventty read fondragover write fondragover;
Published property ondragdrop: treeitemdragdropeventty read fondragdrop write fondragdrop;
Published property levelstep;

Description

Methods

Protected procedure freedata(var data); override;
 
Protected procedure docreateobject(var instance: tobject); override;
 
Protected procedure createitem(out item: tlistitem); override;
 
Protected procedure nodenotification(const sender: tlistitem; var ainfo: nodeactioninfoty); override;
 
Protected function compare(const l,r): integer; override;
 
Protected procedure statreaditem(const reader: tstatreader; var aitem: tlistitem); override;
 
Protected procedure statwriteitem(const writer: tstatwriter; const aitem: tlistitem); override;
 
Protected procedure readstate(const reader; const acount: integer; const aname: msestring); override;
 
Protected procedure writestate(const writer; const name: msestring); override;
 
Protected procedure beforedragevent(var ainfo: draginfoty; const arow: integer; var processed: boolean);
 
Protected procedure afterdragevent(var ainfo: draginfoty; const arow: integer; var processed: boolean);
 
Public constructor create; overload; override;
 
Public constructor create(const intf: iitemlist; const aowner: ttreeitemedit); reintroduce; overload;
 
Public procedure beginupdate; override;
 
Public procedure endupdate; override;
 
Public procedure change(const index: integer); override;
 
Public procedure deleteitems(index,acount: integer); override;
 
Public procedure insertitems(index,acount: integer); override;
 
Public procedure assign(const root: ttreelistedititem; const freeroot: boolean = true); reintroduce; overload;
 
Public procedure assign(const aitems: treelistedititemarty); reintroduce; overload;
 
Public procedure add(const anode: ttreelistedititem; const freeroot: boolean = true); overload;
 
Public procedure add(const anodes: treelistedititemarty); overload;
 
Public procedure add(const acount: integer; aitemclass: treelistedititemclassty = nil); overload;
 
Public procedure addchildren(const anode: ttreelistedititem);
 
Public procedure insert(const aindex: integer;const anode: ttreelistedititem; const freeroot: boolean = true);
 
Public procedure delete(const aindex: integer);
 
Public procedure readnode(const aname: msestring; const reader: tstatreader; const anode: ttreelistitem);
 
Public procedure writenode(const aname: msestring; const writer: tstatwriter; const anode: ttreelistitem);
 
Public procedure updatenode(const aname: msestring; const filer: tstatfiler; const anode: ttreelistitem);
 
Public function toplevelnodes: treelistedititemarty;
 
Public function getnodes(const must: nodestatesty; const mustnot: nodestatesty; const amode: getnodemodety = gno_matching): treelistitemarty;
 
Public function getselectednodes(const amode: getnodemodety = gno_matching): treelistitemarty;
 
Public function getcheckednodes(const amode: getnodemodety = gno_matching): treelistitemarty;
 
Public procedure updatechildcheckedtree;
 
Public procedure updatechildnotcheckedtree;
 
Public procedure updateparentnotcheckedtree;
 
Public procedure expandall;
 
Public procedure collapseall;
 
Public procedure moverow(const source,dest: integer);
 

Properties

Public property itemclass: treelistedititemclassty read getitemclass write setitemclass;
 
Public property items[constindex:integer]: ttreelistedititem read getitems1 write setitems;
 
Public property expandedstate: expandedinfoarty read getexpandedstate write setexpandedstate;
 
Public property rootnode: ttreelistedititem read frootnode write setrootnode;
 
Public property insertparent: ttreelistedititem read finsertparent;
 
Public property insertparentindex: integer read finsertparentindex;
 
Published property colorglyph;
 
Published property colorglyphactive;
 
Published property boxglyph_versionactive;
 
Published property boxglyph_checkbox;
 
Published property boxglyph_checkboxchecked;
 
Published property boxglyph_checkboxparentnotchecked;
 
Published property boxglyph_checkboxchildchecked;
 
Published property imnr_base;
 
Published property imnr_expanded;
 
Published property imnr_selected;
 
Published property imnr_readonly;
 
Published property imnr_checked;
 
Published property imnr_subitems;
 
Published property imnr_focused;
 
Published property imnr_active;
 
Published property imagelist;
 
Published property imagewidth;
 
Published property imageheight;
 
Published property imagealignment;
 
Published property defaultnodestate;
 
Published property captionpos;
 
Published property fonts;
 
Published property options;
 
Published property onitemnotification;
 
Published property colorline: colorty read fcolorline write setcolorline default cl_treeline;
 
Published property colorlineactive: colorty read fcolorlineactive write setcolorlineactive default cl_treelineactive;
 
Published property boxglyph_empty: stockglyphty read getboxglyph_empty write setboxglyph_empty default stg_box;
 
Published property boxglyph_expand: stockglyphty read getboxglyph_expand write setboxglyph_expand default stg_boxexpand;
 
Published property boxglyph_expanded: stockglyphty read getboxglyph_expanded write setboxglyph_expanded default stg_boxexpanded;
 
Published property oncreateitem: createtreelistitemeventty read getoncreateitem write setoncreateitem;
 
Published property onstatwriteitem: statwritetreeitemeventty read getonstatwriteitem write setonstatwriteitem;
 
Published property onstatreaditem: statreadtreeitemeventty read getonstatreaditem write setonstatreaditem;
 
Published property onstatwrite;
 
Published property onstatread;
 
Published property ondragbegin: treeitemdragbegineventty read fondragbegin write fondragbegin;
 
Published property ondragover: treeitemdragovereventty read fondragover write fondragover;
 
Published property ondragdrop: treeitemdragdropeventty read fondragdrop write fondragdrop;
 
Published property levelstep;
 

Generated by PasDoc 0.16.0.