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