Class ttreelistitem
Unit
Declaration
type ttreelistitem = class(tlistitem)
Description
This item has no description.
Hierarchy
- tobject
- tnullinterfacedobject
- tlistitem
- ttreelistitem
Overview
Fields
| Protected | fparent: ttreelistitem; |
| Protected | fparentindex: integer; |
| Protected | fitems: treelistitemarty; |
| Protected | fcount: integer; |
| Protected | ftreelevel: integer; |
Methods
| Protected | procedure setexpanded(const Value: boolean) virtual; |
| Protected | procedure statechangedvirtual; |
| Protected | procedure aftermovevirtual; |
| Protected | procedure checksort; virtual; |
| Protected | procedure setcaption(const avalue: msestring); override; |
| Protected | procedure setowner(const aowner: tcustomitemlist); override; |
| Protected | procedure setchecked(const avalue: boolean); override; |
| Protected | procedure checkindex(const aindex: integer); |
| Protected | procedure settreelevel(const value: integer); |
| Protected | procedure countchange(const atreeheightbefore: integer; const notifyowner: boolean); |
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); override; |
| Protected | function createsubnode: ttreelistitem; virtual; |
| Protected | procedure internalswap(const a,b: integer); |
| Protected | procedure internalmove(const source,dest: integer); |
| Protected | procedure statreadsubnode(const reader: tstatreader; var anode: ttreelistitem); virtual; |
| Protected | procedure internalexpandall; |
| Protected | procedure internalcollapseall; |
| Protected | procedure internalgetnodes(var aresult: treelistitemarty; var acount: integer; const must: nodestatesty; const mustnot: nodestatesty; const amode: getnodemodety; const addself: boolean); |
| Protected | function customcompare(const l,r: ttreelistitem): integer; virtual; |
| Protected | function comparecasesens(const l: ttreelistitem; const r: ttreelistitem): integer; |
| Protected | function comparecaseinsens(const l: ttreelistitem; const r: ttreelistitem): integer; |
| Protected | procedure doupdateparentnotcheckedstate(const aset: boolean); |
| Public | constructor create(const aowner: tcustomitemlist = nil; const aparent: ttreelistitem = nil); reintroduce; virtual; |
| Public | destructor destroy; override; |
| Public | class procedure calcitemlayout(const asize: sizety; const ainnerframe: framety; const list: tcustomitemlist; var info: listitemlayoutinfoty); override; |
| Public | procedure releaseowner; override; |
| Public | procedure releasechildren(); |
| Public | procedure dostatread(const reader: tstatreader); override; |
| Public | procedure dostatwrite(const writer: tstatwriter); override; |
| Public | procedure updatechildcheckedstate(); |
| Public | procedure updatechildcheckedtree(); |
| Public | procedure updatechildnotcheckedtree(); |
| Public | procedure updatechildnotcheckedstate(); |
| Public | procedure updateparentnotcheckedstate(); |
| Public | procedure updateparentnotcheckedtree(); |
| Public | function parentorself: ttreelistitem; |
| Public | function parentindex: integer; |
| Public | function levelshift: integer; |
| Public | function treeheight: integer; |
| Public | function rowheight: integer; |
| Public | function isroot: boolean; |
| Public | function issinglerootrow: boolean; |
| Public | function islastnode: boolean; |
| Public | function findsibling(const asibling: ttreelistitem): ttreelistitem; |
| Public | function nextnode: ttreelistitem; |
| Public | function nextnodeparent: ttreelistitem; |
| Public | function checkdescendent(node: ttreelistitem): boolean; |
| Public | function checkancestor(node: ttreelistitem): boolean; |
| Public | function isstatechanged: boolean; |
| Public | function candrag: boolean; virtual; |
| Public | function candrop(const source: ttreelistitem): boolean; virtual; |
| Public | function finditembycaption(const acaption: msestring; var dest: ttreelistitem): boolean; overload; |
| Public | function finditembycaption(const acaption: msestring; const acasesensitive: boolean = false; const aexpand: boolean = false): ttreelistitem; overload; |
| Public | function finditembycaption(const acaption: lmsestringty; const aexpand: boolean = false): ttreelistitem; overload; |
| Public | function finditembycaption(const acaptions: msestringarty; const acasesensitive: boolean = false; const aexpand: boolean = false; const apartial: boolean = false): ttreelistitem; overload; |
| Public | function rootnode: ttreelistitem; |
| Public | function rootpath: treelistitemarty; |
| Public | function rootcaptions: msestringarty; overload; |
| Public | function rootcaptions(const aowner: tcustomitemlist): msestringarty; overload; |
| Public | procedure checkitems(const checkdelete: checktreelistitemprocty); |
| Public | procedure updatecellzone(const pos: pointty; var zone: cellzonety); override; |
| Public | procedure mouseevent(var info: mouseeventinfoty); override; |
| Public | procedure drawimage(const acanvas: tcanvas; var alayoutinfo: listitemlayoutinfoty) override; |
| Public | procedure addchildren(const aitem: ttreelistitem); |
| Public | function add(const aitem: ttreelistitem): integer; overload; |
| Public | procedure add(const aitems: treelistitemarty); overload; |
| Public | function add(const itemclass: treelistitemclassty = nil): ttreelistitem; overload; |
| Public | procedure add(const acount: integer; const itemclass: treelistitemclassty = nil; const defaultstate: nodestatesty = []); overload; |
| Public | procedure insert(aindex: integer; const aitem: ttreelistitem); |
| Public | procedure insert(const aitem: ttreelistitem; aindex: integer); deprecated; |
| Public | procedure move(const source,dest: integer); |
| Public | procedure swap(const a,b: integer); |
| Public | procedure clear; virtual; |
| Public | function getnodes(const must: nodestatesty; const mustnot: nodestatesty; const amode: getnodemodety = gno_matching; const addself: boolean = false): treelistitemarty; |
| Public | function getselectednodes(const amode: getnodemodety = gno_matching; const addself: boolean = false): treelistitemarty; |
| Public | function getcheckednodes(const amode: getnodemodety = gno_matching; const addself: boolean = false): treelistitemarty; |
| Public | procedure expandall; |
| Public | procedure collapseall; |
| Public | procedure expandtoroot(const afocusrow: boolean = true); |
| Public | procedure collapsetoroot; |
| Public | function remove(const aindex: integer): ttreelistitem; |
| Public | procedure sort(const casesensitive: boolean; const recursive: boolean = false); overload; |
| Public | procedure sort(const sortfunc: arraysortcomparety; const recursive: boolean = false); overload; |
| Public | procedure setupeditor(const editor: tinplaceedit; const font: tfont; const notext: boolean); override; |
| Public | function treechecked: boolean; |
Properties
| Public | property parent: ttreelistitem read fparent; |
| Public | property treelevel: integer read ftreelevel; |
| Public | property subitems: boolean read getsubitems write setsubitems; |
| Public | property count: integer read fcount; |
| Public | property rootexpanded: boolean read getrootexpanded write setrootexpanded; |
| Public | property expanded: boolean read getexpanded write setexpanded; |
| Public | property items[const aindex: integer]: ttreelistitem read getitems; |
Description
Fields
| Protected | fparent: ttreelistitem; |
|
This item has no description. | |
| Protected | fparentindex: integer; |
|
This item has no description. | |
| Protected | fitems: treelistitemarty; |
|
This item has no description. | |
| Protected | fcount: integer; |
|
This item has no description. | |
| Protected | ftreelevel: integer; |
|
This item has no description. | |
Methods
| Protected | procedure setexpanded(const Value: boolean) virtual; |
|
This item has no description. | |
| Protected | procedure statechangedvirtual; |
|
This item has no description. | |
| Protected | procedure aftermovevirtual; |
|
This item has no description. | |
| Protected | procedure checksort; virtual; |
|
This item has no description. | |
| Protected | procedure setcaption(const avalue: msestring); override; |
|
This item has no description. | |
| Protected | procedure setowner(const aowner: tcustomitemlist); override; |
|
This item has no description. | |
| Protected | procedure setchecked(const avalue: boolean); override; |
|
This item has no description. | |
| Protected | procedure checkindex(const aindex: integer); |
|
This item has no description. | |
| Protected | procedure settreelevel(const value: integer); |
|
This item has no description. | |
| Protected | procedure countchange(const atreeheightbefore: integer; const notifyowner: boolean); |
|
This item has no description. | |
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
This item has no description. | |
| Protected | function createsubnode: ttreelistitem; virtual; |
|
This item has no description. | |
| Protected | procedure internalswap(const a,b: integer); |
|
This item has no description. | |
| Protected | procedure internalmove(const source,dest: integer); |
|
This item has no description. | |
| Protected | procedure statreadsubnode(const reader: tstatreader; var anode: ttreelistitem); virtual; |
|
This item has no description. | |
| Protected | procedure internalexpandall; |
|
This item has no description. | |
| Protected | procedure internalcollapseall; |
|
This item has no description. | |
| Protected | procedure internalgetnodes(var aresult: treelistitemarty; var acount: integer; const must: nodestatesty; const mustnot: nodestatesty; const amode: getnodemodety; const addself: boolean); |
|
This item has no description. | |
| Protected | function customcompare(const l,r: ttreelistitem): integer; virtual; |
|
This item has no description. | |
| Protected | function comparecasesens(const l: ttreelistitem; const r: ttreelistitem): integer; |
|
This item has no description. | |
| Protected | function comparecaseinsens(const l: ttreelistitem; const r: ttreelistitem): integer; |
|
This item has no description. | |
| Protected | procedure doupdateparentnotcheckedstate(const aset: boolean); |
|
This item has no description. | |
| Public | constructor create(const aowner: tcustomitemlist = nil; const aparent: ttreelistitem = nil); reintroduce; virtual; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | class procedure calcitemlayout(const asize: sizety; const ainnerframe: framety; const list: tcustomitemlist; var info: listitemlayoutinfoty); override; |
|
This item has no description. | |
| Public | procedure releaseowner; override; |
|
This item has no description. | |
| Public | procedure releasechildren(); |
|
This item has no description. | |
| Public | procedure dostatread(const reader: tstatreader); override; |
|
This item has no description. | |
| Public | procedure dostatwrite(const writer: tstatwriter); override; |
|
This item has no description. | |
| Public | procedure updatechildcheckedstate(); |
|
This item has no description. | |
| Public | procedure updatechildcheckedtree(); |
|
This item has no description. | |
| Public | procedure updatechildnotcheckedtree(); |
|
This item has no description. | |
| Public | procedure updatechildnotcheckedstate(); |
|
This item has no description. | |
| Public | procedure updateparentnotcheckedstate(); |
|
This item has no description. | |
| Public | procedure updateparentnotcheckedtree(); |
|
This item has no description. | |
| Public | function parentorself: ttreelistitem; |
|
This item has no description. | |
| Public | function parentindex: integer; |
|
This item has no description. | |
| Public | function levelshift: integer; |
|
This item has no description. | |
| Public | function treeheight: integer; |
|
This item has no description. | |
| Public | function rowheight: integer; |
|
This item has no description. | |
| Public | function isroot: boolean; |
|
This item has no description. | |
| Public | function issinglerootrow: boolean; |
|
This item has no description. | |
| Public | function islastnode: boolean; |
|
This item has no description. | |
| Public | function findsibling(const asibling: ttreelistitem): ttreelistitem; |
|
This item has no description. | |
| Public | function nextnode: ttreelistitem; |
|
This item has no description. | |
| Public | function nextnodeparent: ttreelistitem; |
|
This item has no description. | |
| Public | function checkdescendent(node: ttreelistitem): boolean; |
|
This item has no description. | |
| Public | function checkancestor(node: ttreelistitem): boolean; |
|
This item has no description. | |
| Public | function isstatechanged: boolean; |
|
This item has no description. | |
| Public | function candrag: boolean; virtual; |
|
This item has no description. | |
| Public | function candrop(const source: ttreelistitem): boolean; virtual; |
|
This item has no description. | |
| Public | function finditembycaption(const acaption: msestring; var dest: ttreelistitem): boolean; overload; |
|
This item has no description. | |
| Public | function finditembycaption(const acaption: msestring; const acasesensitive: boolean = false; const aexpand: boolean = false): ttreelistitem; overload; |
|
This item has no description. | |
| Public | function finditembycaption(const acaption: lmsestringty; const aexpand: boolean = false): ttreelistitem; overload; |
|
This item has no description. | |
| Public | function finditembycaption(const acaptions: msestringarty; const acasesensitive: boolean = false; const aexpand: boolean = false; const apartial: boolean = false): ttreelistitem; overload; |
|
This item has no description. | |
| Public | function rootnode: ttreelistitem; |
|
This item has no description. | |
| Public | function rootpath: treelistitemarty; |
|
This item has no description. | |
| Public | function rootcaptions: msestringarty; overload; |
|
This item has no description. | |
| Public | function rootcaptions(const aowner: tcustomitemlist): msestringarty; overload; |
|
This item has no description. | |
| Public | procedure checkitems(const checkdelete: checktreelistitemprocty); |
|
This item has no description. | |
| Public | procedure updatecellzone(const pos: pointty; var zone: cellzonety); override; |
|
This item has no description. | |
| Public | procedure mouseevent(var info: mouseeventinfoty); override; |
|
This item has no description. | |
| Public | procedure drawimage(const acanvas: tcanvas; var alayoutinfo: listitemlayoutinfoty) override; |
|
This item has no description. | |
| Public | procedure addchildren(const aitem: ttreelistitem); |
|
This item has no description. | |
| Public | function add(const aitem: ttreelistitem): integer; overload; |
|
This item has no description. | |
| Public | procedure add(const aitems: treelistitemarty); overload; |
|
This item has no description. | |
| Public | function add(const itemclass: treelistitemclassty = nil): ttreelistitem; overload; |
|
This item has no description. | |
| Public | procedure add(const acount: integer; const itemclass: treelistitemclassty = nil; const defaultstate: nodestatesty = []); overload; |
|
This item has no description. | |
| Public | procedure insert(aindex: integer; const aitem: ttreelistitem); |
|
This item has no description. | |
| Public | procedure insert(const aitem: ttreelistitem; aindex: integer); deprecated; |
|
Warning: this symbol is deprecated. This item has no description. | |
| Public | procedure move(const source,dest: integer); |
|
This item has no description. | |
| Public | procedure swap(const a,b: integer); |
|
This item has no description. | |
| Public | procedure clear; virtual; |
|
This item has no description. | |
| Public | function getnodes(const must: nodestatesty; const mustnot: nodestatesty; const amode: getnodemodety = gno_matching; const addself: boolean = false): treelistitemarty; |
|
This item has no description. | |
| Public | function getselectednodes(const amode: getnodemodety = gno_matching; const addself: boolean = false): treelistitemarty; |
|
This item has no description. | |
| Public | function getcheckednodes(const amode: getnodemodety = gno_matching; const addself: boolean = false): treelistitemarty; |
|
This item has no description. | |
| Public | procedure expandall; |
|
This item has no description. | |
| Public | procedure collapseall; |
|
This item has no description. | |
| Public | procedure expandtoroot(const afocusrow: boolean = true); |
|
This item has no description. | |
| Public | procedure collapsetoroot; |
|
This item has no description. | |
| Public | function remove(const aindex: integer): ttreelistitem; |
|
This item has no description. | |
| Public | procedure sort(const casesensitive: boolean; const recursive: boolean = false); overload; |
|
This item has no description. | |
| Public | procedure sort(const sortfunc: arraysortcomparety; const recursive: boolean = false); overload; |
|
This item has no description. | |
| Public | procedure setupeditor(const editor: tinplaceedit; const font: tfont; const notext: boolean); override; |
|
This item has no description. | |
| Public | function treechecked: boolean; |
|
This item has no description. | |
Properties
| Public | property parent: ttreelistitem read fparent; |
|
This item has no description. | |
| Public | property treelevel: integer read ftreelevel; |
|
This item has no description. | |
| Public | property subitems: boolean read getsubitems write setsubitems; |
|
This item has no description. | |
| Public | property count: integer read fcount; |
|
This item has no description. | |
| Public | property rootexpanded: boolean read getrootexpanded write setrootexpanded; |
|
This item has no description. | |
| Public | property expanded: boolean read getexpanded write setexpanded; |
|
This item has no description. | |
| Public | property items[const aindex: integer]: ttreelistitem read getitems; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.