Class TCheckOutlineNode (unit CheckOutline)

Inherits from

TPersistent

TCheckOutlineNode same as TOutlineNode but has property Checked

Constructors


constructor Create(AOwner: TCustomCheckOutline);

TCheckOutlineNode


Functions

procedure ChangeLevelBy(Value: TChangeRange);


procedure Collapse;


procedure Expand;


procedure FullExpand;


function GetDisplayWidth: Integer;


function GetFirstChild: LongInt;


function GetLastChild: LongInt;


function GetNextChild(Value: LongInt): LongInt;


function GetPrevChild(Value: LongInt): LongInt;


procedure MoveTo(Destination: LongInt; AttachMode: TAttachMode);


function AddNode(Value: TCheckOutlineNode): LongInt;


destructor Destroy;


function GetDataItem(Value: Pointer): LongInt;


function GetNodeAtIndex(TargetIndex: LongInt): TCheckOutlineNode;

Quick exit if we are lucky

function GetRowOfNode(TargetNode: TCheckOutlineNode; var RowCount: Longint): Boolean;


function GetTextItem(const Value: string): LongInt;


function GetVisibleNode(TargetCount: LongInt): TCheckOutlineNode;


function HasAsParent(Value: TCheckOutlineNode): Boolean;


function InsertNode(Index: LongInt; Value: TCheckOutlineNode): LongInt;


procedure InternalRemove(Value: TCheckOutlineNode; Index: Integer);


procedure Remove(Value: TCheckOutlineNode);


procedure WriteNode(Buffer: PChar; Stream: TStream);


procedure ChangeExpandedCount(Value: LongInt);


procedure Clear;


procedure CloseNode;


procedure Error(const ErrorString: string);


function GetExpandedNodeCount: LongInt;


function GetFullPath: string;


function GetIndex: LongInt;


function GetLastIndex: LongInt;


function GetLevel: Cardinal;


function GetList: TList;


function GetMaxDisplayWidth(Value: Cardinal): Cardinal;


function GetNode(Index: LongInt): TCheckOutlineNode;


function GetTopItem: Longint;


function GetVisibleParent: TCheckOutlineNode;


function HasChildren: Boolean;


function HasVisibleParent: Boolean;


function IsEqual(Value: TCheckOutlineNode): Boolean;


procedure ReIndex(StartNode, EndNode: TCheckOutlineNode; NewIndex: LongInt; IncludeStart: Boolean);


procedure Repaint;


function Resync(var NewIndex: LongInt; EndNode: TCheckOutlineNode): Boolean;


procedure SetChecked(Value: Boolean);


procedure SetExpandedState(Value: Boolean);


procedure SetGoodIndex;


procedure SetHorzScrollBar;


procedure SetLevel(Level: Cardinal);


procedure SetText(const Value: string);


Properties

property Checked : Boolean


property Data : Pointer


property Expanded : Boolean


property FullPath : string


property HasItems : Boolean


property Index : LongInt


property IsVisible : Boolean


property Level : Cardinal


property Parent : TCheckOutlineNode


property Text : string


property TopItem : Longint


property ExpandCount : LongInt


property Items : TCheckOutlineNode


property List : TList


property Outline : TCustomCheckOutline


Events

Variables

FChecked : Boolean;


FData : Pointer;


FExpandCount : LongInt;


FIndex : LongInt;


FList : TList;


FOutline : TCustomCheckOutline;


FParent : TCheckOutlineNode;


FState : Boolean;


FText : string;



Constructors


constructor Create(AOwner: TCustomCheckOutline);

TCheckOutlineNode


Functions


procedure ChangeLevelBy(Value: TChangeRange);


procedure Collapse;


procedure Expand;


procedure FullExpand;


function GetDisplayWidth: Integer;


function GetFirstChild: LongInt;


function GetLastChild: LongInt;


function GetNextChild(Value: LongInt): LongInt;


function GetPrevChild(Value: LongInt): LongInt;


procedure MoveTo(Destination: LongInt; AttachMode: TAttachMode);


function AddNode(Value: TCheckOutlineNode): LongInt;


destructor Destroy;


function GetDataItem(Value: Pointer): LongInt;


function GetNodeAtIndex(TargetIndex: LongInt): TCheckOutlineNode;

Quick exit if we are lucky


function GetRowOfNode(TargetNode: TCheckOutlineNode; var RowCount: Longint): Boolean;


function GetTextItem(const Value: string): LongInt;


function GetVisibleNode(TargetCount: LongInt): TCheckOutlineNode;


function HasAsParent(Value: TCheckOutlineNode): Boolean;


function InsertNode(Index: LongInt; Value: TCheckOutlineNode): LongInt;


procedure InternalRemove(Value: TCheckOutlineNode; Index: Integer);


procedure Remove(Value: TCheckOutlineNode);


procedure WriteNode(Buffer: PChar; Stream: TStream);


procedure ChangeExpandedCount(Value: LongInt);


procedure Clear;


procedure CloseNode;


procedure Error(const ErrorString: string);


function GetExpandedNodeCount: LongInt;


function GetFullPath: string;


function GetIndex: LongInt;


function GetLastIndex: LongInt;


function GetLevel: Cardinal;


function GetList: TList;


function GetMaxDisplayWidth(Value: Cardinal): Cardinal;


function GetNode(Index: LongInt): TCheckOutlineNode;


function GetTopItem: Longint;


function GetVisibleParent: TCheckOutlineNode;


function HasChildren: Boolean;


function HasVisibleParent: Boolean;


function IsEqual(Value: TCheckOutlineNode): Boolean;


procedure ReIndex(StartNode, EndNode: TCheckOutlineNode; NewIndex: LongInt; IncludeStart: Boolean);


procedure Repaint;


function Resync(var NewIndex: LongInt; EndNode: TCheckOutlineNode): Boolean;


procedure SetChecked(Value: Boolean);


procedure SetExpandedState(Value: Boolean);


procedure SetGoodIndex;


procedure SetHorzScrollBar;


procedure SetLevel(Level: Cardinal);


procedure SetText(const Value: string);


Properties


property Checked : Boolean


property Data : Pointer


property Expanded : Boolean


property FullPath : string


property HasItems : Boolean


property Index : LongInt


property IsVisible : Boolean


property Level : Cardinal


property Parent : TCheckOutlineNode


property Text : string


property TopItem : Longint


property ExpandCount : LongInt


property Items : TCheckOutlineNode


property List : TList


property Outline : TCustomCheckOutline


Events


Variables


FChecked : Boolean;


FData : Pointer;


FExpandCount : LongInt;


FIndex : LongInt;


FList : TList;


FOutline : TCustomCheckOutline;


FParent : TCheckOutlineNode;


FState : Boolean;


FText : string;