Class tcustomitemlist
Unit
Declaration
type tcustomitemlist = class(tobjectdatalist, iobjectlink)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tvirtualpersistent
- tnullinterfacedpersistent
- tlinkedpersistent
- tdatalist
- tdynamicdatalist
- tdynamicpointerdatalist
- tobjectdatalist
- tcustomitemlist
Overview
Fields
| Protected | fdefaultnodestate: nodestatesty; |
| Protected | fimagelist: timagelist; |
| Protected | fimagesize: sizety; |
| Protected | fimagealignment: alignmentsty; |
| Protected | fimnr_base: integer; |
| Protected | fimnr_expanded: integer; |
| Protected | fimnr_selected: integer; |
| Protected | fimnr_readonly: integer; |
| Protected | fimnr_checked: integer; |
| Protected | fimnr_subitems: integer; |
| Protected | flevelstep: integer; |
| Protected | fintf: iitemlist; |
| Protected | foptions: nodeoptionsty; |
| Protected | fcaptionpos: captionposty; |
| Protected | fitemstate: itemliststatesty; |
Methods
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); override; |
| Protected | function getitems1(const index: integer): tlistitem; |
| Protected | procedure setitems(const index: integer; const Value: tlistitem); |
| Protected | procedure setcount(const value: integer); override; |
| Protected | procedure freedata(var data); override; |
| Protected | procedure removeitem(const aindex: integer); |
| Protected | procedure change(const item: tlistitem); reintroduce; overload; |
| Protected | procedure nodenotification(const sender: tlistitem; var ainfo: nodeactioninfoty); virtual; |
| Protected | procedure setitemselected(const row: integer; const value: boolean); override; |
| Protected | procedure doitemchange(const index: integer); override; |
| Protected | procedure invalidate; virtual; |
| Protected | procedure updatelayout; virtual; |
| Protected | procedure docreateobject(var instance: tobject); override; |
| Protected | procedure createitem(out item: tlistitem); virtual; |
| Protected | procedure createstatitem(const reader: tstatreader; out item: tlistitem); virtual; |
| Protected | procedure statreaditem(const reader: tstatreader; var aitem: tlistitem); virtual; |
| Protected | procedure statreadtreeitem(const reader: tstatreader; const parent: ttreelistitem; var aitem: ttreelistitem); virtual; |
| Protected | procedure statwriteitem(const writer: tstatwriter; const aitem: tlistitem); virtual; |
| Protected | procedure statwritetreeitem(const writer: tstatwriter; const aitem: ttreelistitem); virtual; |
| Protected | procedure dostatread(const reader: tstatreader; const name: msestring); virtual; |
| Protected | procedure dostatwrite(const writer: tstatwriter; const name: msestring); virtual; |
| Protected | procedure writestate(const writer; const name: msestring); override; |
| Protected | procedure readstate(const reader; const acount: integer; const name: msestring); override; |
| Public | constructor create; overload; override; |
| Public | constructor create(const intf: iitemlist); reintroduce; overload; |
| Public | destructor destroy; override; |
| Public | procedure registerobject(const aobject: iobjectlink); |
| Public | procedure unregisterobject(const aobject: iobjectlink); |
| Public | function layoutinfopo: plistitemlayoutinfoty; |
| Public | function add(const aitem: tlistitem): integer; overload; |
| Public | function add(const aitem: msestring): integer; overload; |
| Public | procedure add(const aitems: listitemarty); overload; |
| Public | procedure add(const aitems: msestringarty); overload; |
| Public | procedure add(const aitems: array of msestring); overload; |
| Public | function empty(const index: integer): boolean; override; |
| Public | function indexof(const aitem: tlistitem): integer; |
| Public | function nodezone(const point: pointty): cellzonety; |
| Public | function getitems(const must: nodestatesty; const mustnot: nodestatesty): listitemarty; |
| Public | function getindexes(const must: nodestatesty; const mustnot: nodestatesty): integerarty; |
| Public | function getselecteditems: listitemarty; |
| Public | function getselectedindexes: integerarty; |
| Public | function getcheckeditems: listitemarty; |
| Public | function getcheckedindexes: integerarty; |
Properties
| Public | property itemlistintf: iitemlist read fintf; |
| Public | property items[const index: integer]: tlistitem read getitems1 write setitems; |
| Public | property imnr_base: integer read fimnr_base write setimnr_base default 0; |
| Public | property imnr_expanded: integer read fimnr_expanded
write setimnr_expanded default 0; |
| Public | property imnr_selected: integer read fimnr_selected
write setimnr_selected default 0; |
| Public | property imnr_readonly: integer read fimnr_readonly
write setimnr_readonly default 0; |
| Public | property imnr_checked: integer read fimnr_checked
write setimnr_checked default 0; |
| Public | property imnr_subitems: integer read fimnr_subitems
write setimnr_subitems default 0; |
| Public | property imnr_focused: integer read fimnr_focused
write setimnr_focused default 0; |
| Public | property imnr_active: integer read fimnr_active
write setimnr_active default 0; |
| Public | property imagelist: timagelist read fimagelist write setimagelist; |
| Public | property imagewidth: integer read fimagesize.cx
write setimagewidth default 0; |
| Public | property imageheight: integer read fimagesize.cy
write setimageheight default 0; |
| Public | property imagesize: sizety read fimagesize write setimagesize; |
| Public | property imagealignment: alignmentsty read fimagealignment
write setimagealignment default [al_xcentered,al_ycentered]; |
| Public | property options: nodeoptionsty read foptions write setoptions default []; |
| Public | property captionpos: captionposty read fcaptionpos write setcaptionpos
default cp_right; |
| Public | property fonts: tfontarrayprop read ffonts write setfonts; |
| Public | property levelstep: integer read flevelstep write setlevelstep
default defaultlevelstep; |
| Public | property defaultnodestate: nodestatesty read fdefaultnodestate
write fdefaultnodestate default []; |
| Public | property onstatreaditem: statreaditemeventty read fonstatreaditem
write fonstatreaditem; |
| Public | property onstatreadtreeitem: statreadtreeitemeventty
read fonstatreadtreeitem write fonstatreadtreeitem; |
| Public | property onstatwriteitem: statwriteitemeventty read fonstatwriteitem
write fonstatwriteitem; |
| Public | property onstatwritetreeitem: statwritetreeitemeventty
read fonstatwritetreeitem write fonstatwritetreeitem; |
| Public | property onstatwrite: statwriteitemlisteventty read fonstatwrite
write fonstatwrite; |
| Public | property onstatread: statreaditemlisteventty read fonstatread
write fonstatread; |
Description
Fields
| Protected | fdefaultnodestate: nodestatesty; |
|
This item has no description. | |
| Protected | fimagelist: timagelist; |
|
This item has no description. | |
| Protected | fimagesize: sizety; |
|
This item has no description. | |
| Protected | fimagealignment: alignmentsty; |
|
This item has no description. | |
| Protected | fimnr_base: integer; |
|
This item has no description. | |
| Protected | fimnr_expanded: integer; |
|
This item has no description. | |
| Protected | fimnr_selected: integer; |
|
This item has no description. | |
| Protected | fimnr_readonly: integer; |
|
This item has no description. | |
| Protected | fimnr_checked: integer; |
|
This item has no description. | |
| Protected | fimnr_subitems: integer; |
|
This item has no description. | |
| Protected | flevelstep: integer; |
|
This item has no description. | |
| Protected | fintf: iitemlist; |
|
This item has no description. | |
| Protected | foptions: nodeoptionsty; |
|
This item has no description. | |
| Protected | fcaptionpos: captionposty; |
|
This item has no description. | |
| Protected | fitemstate: itemliststatesty; |
|
This item has no description. | |
Methods
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
This item has no description. | |
| Protected | function getitems1(const index: integer): tlistitem; |
|
This item has no description. | |
| Protected | procedure setitems(const index: integer; const Value: tlistitem); |
|
This item has no description. | |
| Protected | procedure setcount(const value: integer); override; |
|
This item has no description. | |
| Protected | procedure freedata(var data); override; |
|
This item has no description. | |
| Protected | procedure removeitem(const aindex: integer); |
|
This item has no description. | |
| Protected | procedure change(const item: tlistitem); reintroduce; overload; |
|
This item has no description. | |
| Protected | procedure nodenotification(const sender: tlistitem; var ainfo: nodeactioninfoty); virtual; |
|
This item has no description. | |
| Protected | procedure setitemselected(const row: integer; const value: boolean); override; |
|
This item has no description. | |
| Protected | procedure doitemchange(const index: integer); override; |
|
This item has no description. | |
| Protected | procedure invalidate; virtual; |
|
This item has no description. | |
| Protected | procedure updatelayout; virtual; |
|
This item has no description. | |
| Protected | procedure docreateobject(var instance: tobject); override; |
|
This item has no description. | |
| Protected | procedure createitem(out item: tlistitem); virtual; |
|
This item has no description. | |
| Protected | procedure createstatitem(const reader: tstatreader; out item: tlistitem); virtual; |
|
This item has no description. | |
| Protected | procedure statreaditem(const reader: tstatreader; var aitem: tlistitem); virtual; |
|
This item has no description. | |
| Protected | procedure statreadtreeitem(const reader: tstatreader; const parent: ttreelistitem; var aitem: ttreelistitem); virtual; |
|
This item has no description. | |
| Protected | procedure statwriteitem(const writer: tstatwriter; const aitem: tlistitem); virtual; |
|
This item has no description. | |
| Protected | procedure statwritetreeitem(const writer: tstatwriter; const aitem: ttreelistitem); virtual; |
|
This item has no description. | |
| Protected | procedure dostatread(const reader: tstatreader; const name: msestring); virtual; |
|
This item has no description. | |
| Protected | procedure dostatwrite(const writer: tstatwriter; const name: msestring); virtual; |
|
This item has no description. | |
| Protected | procedure writestate(const writer; const name: msestring); override; |
|
This item has no description. | |
| Protected | procedure readstate(const reader; const acount: integer; const name: msestring); override; |
|
This item has no description. | |
| Public | constructor create; overload; override; |
|
This item has no description. | |
| Public | constructor create(const intf: iitemlist); reintroduce; overload; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | procedure registerobject(const aobject: iobjectlink); |
|
This item has no description. | |
| Public | procedure unregisterobject(const aobject: iobjectlink); |
|
This item has no description. | |
| Public | function layoutinfopo: plistitemlayoutinfoty; |
|
This item has no description. | |
| Public | function add(const aitem: tlistitem): integer; overload; |
|
This item has no description. | |
| Public | function add(const aitem: msestring): integer; overload; |
|
This item has no description. | |
| Public | procedure add(const aitems: listitemarty); overload; |
|
This item has no description. | |
| Public | procedure add(const aitems: msestringarty); overload; |
|
This item has no description. | |
| Public | procedure add(const aitems: array of msestring); overload; |
|
This item has no description. | |
| Public | function empty(const index: integer): boolean; override; |
|
This item has no description. | |
| Public | function indexof(const aitem: tlistitem): integer; |
|
This item has no description. | |
| Public | function nodezone(const point: pointty): cellzonety; |
|
This item has no description. | |
| Public | function getitems(const must: nodestatesty; const mustnot: nodestatesty): listitemarty; |
|
This item has no description. | |
| Public | function getindexes(const must: nodestatesty; const mustnot: nodestatesty): integerarty; |
|
This item has no description. | |
| Public | function getselecteditems: listitemarty; |
|
This item has no description. | |
| Public | function getselectedindexes: integerarty; |
|
This item has no description. | |
| Public | function getcheckeditems: listitemarty; |
|
This item has no description. | |
| Public | function getcheckedindexes: integerarty; |
|
This item has no description. | |
Properties
| Public | property itemlistintf: iitemlist read fintf; |
|
This item has no description. | |
| Public | property items[const index: integer]: tlistitem read getitems1 write setitems; |
|
This item has no description. | |
| Public | property imnr_base: integer read fimnr_base write setimnr_base default 0; |
|
This item has no description. | |
| Public | property imnr_expanded: integer read fimnr_expanded
write setimnr_expanded default 0; |
|
This item has no description. | |
| Public | property imnr_selected: integer read fimnr_selected
write setimnr_selected default 0; |
|
This item has no description. | |
| Public | property imnr_readonly: integer read fimnr_readonly
write setimnr_readonly default 0; |
|
This item has no description. | |
| Public | property imnr_checked: integer read fimnr_checked
write setimnr_checked default 0; |
|
This item has no description. | |
| Public | property imnr_subitems: integer read fimnr_subitems
write setimnr_subitems default 0; |
|
This item has no description. | |
| Public | property imnr_focused: integer read fimnr_focused
write setimnr_focused default 0; |
|
This item has no description. | |
| Public | property imnr_active: integer read fimnr_active
write setimnr_active default 0; |
|
This item has no description. | |
| Public | property imagelist: timagelist read fimagelist write setimagelist; |
|
This item has no description. | |
| Public | property imagewidth: integer read fimagesize.cx
write setimagewidth default 0; |
|
This item has no description. | |
| Public | property imageheight: integer read fimagesize.cy
write setimageheight default 0; |
|
This item has no description. | |
| Public | property imagesize: sizety read fimagesize write setimagesize; |
|
This item has no description. | |
| Public | property imagealignment: alignmentsty read fimagealignment
write setimagealignment default [al_xcentered,al_ycentered]; |
|
This item has no description. | |
| Public | property options: nodeoptionsty read foptions write setoptions default []; |
|
This item has no description. | |
| Public | property captionpos: captionposty read fcaptionpos write setcaptionpos
default cp_right; |
|
This item has no description. | |
| Public | property fonts: tfontarrayprop read ffonts write setfonts; |
|
This item has no description. | |
| Public | property levelstep: integer read flevelstep write setlevelstep
default defaultlevelstep; |
|
This item has no description. | |
| Public | property defaultnodestate: nodestatesty read fdefaultnodestate
write fdefaultnodestate default []; |
|
This item has no description. | |
| Public | property onstatreaditem: statreaditemeventty read fonstatreaditem
write fonstatreaditem; |
|
This item has no description. | |
| Public | property onstatreadtreeitem: statreadtreeitemeventty
read fonstatreadtreeitem write fonstatreadtreeitem; |
|
This item has no description. | |
| Public | property onstatwriteitem: statwriteitemeventty read fonstatwriteitem
write fonstatwriteitem; |
|
This item has no description. | |
| Public | property onstatwritetreeitem: statwritetreeitemeventty
read fonstatwritetreeitem write fonstatwritetreeitem; |
|
This item has no description. | |
| Public | property onstatwrite: statwriteitemlisteventty read fonstatwrite
write fonstatwrite; |
|
This item has no description. | |
| Public | property onstatread: statreaditemlisteventty read fonstatread
write fonstatread; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.