Class tlistitem

Unit

Declaration

type tlistitem = class(tnullinterfacedobject)

Description

No description available, ancestor tnullinterfacedobject description follows

Hierarchy

Overview

Fields

Protected fstate: nodestatesty;
Protected fstate1: nodestates1ty;
Protected findex: integer;
Protected fimagelist: timagelist;
Protected fimagenr: integer;
Protected fcaption: msestring;
Protected fowner: tcustomitemlist;
Public tag: integer;
Public tagpo: pointer;

Methods

Protected procedure setchecked(const avalue: boolean); virtual;
Protected procedure setcaption(const avalue: msestring); virtual;
Protected function checkaction(aaction: nodeactionty): boolean;
Protected procedure actionnotification(var ainfo: nodeactioninfoty); virtual;
Protected function getactimagenr( const alayoutinfo: listitemlayoutinfoty): integer; virtual;
Protected procedure objectevent(const sender: tobject; const event: objecteventty); virtual;
Protected procedure setowner(const aowner: tcustomitemlist); virtual;
Protected function compare(const r: tlistitem; const acasesensitive: boolean): integer; virtual;
Protected function cancaptionedit: boolean; virtual;
Protected function canvalueedit: boolean; virtual;
Protected function getvalueitem: tlistitem; virtual;
Protected procedure setvalueitem(const avalue: tlistitem); virtual;
Protected function getownerintf: iitemlist inline;
Public constructor create(const aowner: tcustomitemlist); overload; virtual;
Public constructor createassign(const aowner: tcustomitemlist; const asource: tlistitem); overload;
Public destructor destroy; override;
Public class procedure calcitemlayout(const asize: sizety; const ainnerframe: framety; const list: tcustomitemlist; var info: listitemlayoutinfoty); virtual;
Public procedure assign(const source: tlistitem); overload; virtual;
Public procedure beginupdate;
Public procedure endupdate;
Public procedure releaseowner; virtual;
Public function empty: boolean; virtual;
Public procedure change(); virtual;
Public procedure valuechange(const delta: nodestatesty = []); virtual;
Public procedure updatecellzone(const pos: pointty; var zone: cellzonety); virtual;
Public procedure drawimage(const acanvas: tcanvas; var alayoutinfo: listitemlayoutinfoty) virtual;
Public procedure updatecaption(const acanvas: tcanvas; var alayoutinfo: listitemlayoutinfoty; var ainfo: drawtextinfoty); virtual;
Public procedure drawcell(const acanvas: tcanvas); virtual;
Public procedure mouseevent(var info: mouseeventinfoty); virtual;
Public procedure focusrow();
Public procedure setupeditor(const editor: tinplaceedit; const font: tfont; const notext: boolean); virtual;
Public procedure dostatupdate(const filer: tstatfiler);
Public procedure dostatread(const reader: tstatreader); virtual;
Public procedure dostatwrite(const writer: tstatwriter); virtual;
Public function captionclipped: boolean;
Public function getvaluetext: msestring; virtual;
Public procedure setvaluetext(var avalue: msestring); virtual;

Properties

Public property tagpointer: pointer read tagpo write tagpo; deprecated 'Use tagpo instead';
Public property index: integer read findex;
Public property caption: msestring read fcaption write setcaption;
Public property state: nodestatesty read fstate write setstate;
Public property state1: nodestates1ty read fstate1;
Public property imagelist: timagelist read getimagelist write setimagelist;
Public property imagenr: integer read fimagenr write setimagenr;
Public property selected: boolean read getselected write setselected;
Public property checkbox: boolean read getcheckbox write setcheckbox;
Public property checked: boolean read getchecked write setchecked;
Public property owner: tcustomitemlist read fowner;
Public property valuetext: msestring read getvaluetext write setvaluetext1;
Public property valueitem: tlistitem read getvalueitem;
Public property top: boolean read gettop write settop;

Description

Fields

Protected fstate: nodestatesty;
 
Protected fstate1: nodestates1ty;
 
Protected findex: integer;
 
Protected fimagelist: timagelist;
 
Protected fimagenr: integer;
 
Protected fcaption: msestring;
 
Protected fowner: tcustomitemlist;
 
Public tag: integer;
 
Public tagpo: pointer;
 

Methods

Protected procedure setchecked(const avalue: boolean); virtual;
 
Protected procedure setcaption(const avalue: msestring); virtual;
 
Protected function checkaction(aaction: nodeactionty): boolean;
 
Protected procedure actionnotification(var ainfo: nodeactioninfoty); virtual;
 
Protected function getactimagenr( const alayoutinfo: listitemlayoutinfoty): integer; virtual;
 
Protected procedure objectevent(const sender: tobject; const event: objecteventty); virtual;
 
Protected procedure setowner(const aowner: tcustomitemlist); virtual;
 
Protected function compare(const r: tlistitem; const acasesensitive: boolean): integer; virtual;
 
Protected function cancaptionedit: boolean; virtual;
 
Protected function canvalueedit: boolean; virtual;
 
Protected function getvalueitem: tlistitem; virtual;
 
Protected procedure setvalueitem(const avalue: tlistitem); virtual;
 
Protected function getownerintf: iitemlist inline;
 
Public constructor create(const aowner: tcustomitemlist); overload; virtual;
 
Public constructor createassign(const aowner: tcustomitemlist; const asource: tlistitem); overload;
 
Public destructor destroy; override;
 
Public class procedure calcitemlayout(const asize: sizety; const ainnerframe: framety; const list: tcustomitemlist; var info: listitemlayoutinfoty); virtual;
 
Public procedure assign(const source: tlistitem); overload; virtual;
 
Public procedure beginupdate;
 
Public procedure endupdate;
 
Public procedure releaseowner; virtual;
 
Public function empty: boolean; virtual;
 
Public procedure change(); virtual;
 
Public procedure valuechange(const delta: nodestatesty = []); virtual;
 
Public procedure updatecellzone(const pos: pointty; var zone: cellzonety); virtual;
 
Public procedure drawimage(const acanvas: tcanvas; var alayoutinfo: listitemlayoutinfoty) virtual;
 
Public procedure updatecaption(const acanvas: tcanvas; var alayoutinfo: listitemlayoutinfoty; var ainfo: drawtextinfoty); virtual;
 
Public procedure drawcell(const acanvas: tcanvas); virtual;
 
Public procedure mouseevent(var info: mouseeventinfoty); virtual;
 
Public procedure focusrow();
 
Public procedure setupeditor(const editor: tinplaceedit; const font: tfont; const notext: boolean); virtual;
 
Public procedure dostatupdate(const filer: tstatfiler);
 
Public procedure dostatread(const reader: tstatreader); virtual;
 
Public procedure dostatwrite(const writer: tstatwriter); virtual;
 
Public function captionclipped: boolean;
 
Public function getvaluetext: msestring; virtual;
 
Public procedure setvaluetext(var avalue: msestring); virtual;
 

Properties

Public property tagpointer: pointer read tagpo write tagpo; deprecated 'Use tagpo instead';

Warning: this symbol is deprecated: Use tagpo instead

 
Public property index: integer read findex;
 
Public property caption: msestring read fcaption write setcaption;
 
Public property state: nodestatesty read fstate write setstate;
 
Public property state1: nodestates1ty read fstate1;
 
Public property imagelist: timagelist read getimagelist write setimagelist;
 
Public property imagenr: integer read fimagenr write setimagenr;
 
Public property selected: boolean read getselected write setselected;
 
Public property checkbox: boolean read getcheckbox write setcheckbox;
 
Public property checked: boolean read getchecked write setchecked;
 
Public property owner: tcustomitemlist read fowner;
 
Public property valuetext: msestring read getvaluetext write setvaluetext1;
 
Public property valueitem: tlistitem read getvalueitem;
 
Public property top: boolean read gettop write settop;
 

Generated by PasDoc 0.16.0.