Class TPasItemNode

Unit

Declaration

type TPasItemNode = class(TObject)

Description

Hierarchy

  • TObject
  • TPasItemNode

Overview

Fields

Protected FChildren: TList;
Protected FParent: TPasItemNode;
Protected FItem: TPasItem;
Protected FName: string;

Methods

Protected function GetName: string;
Protected procedure AddChild(const Child: TPasItemNode); overload;
Protected function AddChild(const AName: string): TPasItemNode; overload;
Protected function AddChild(const AItem: TPasItem): TPasItemNode; overload;
Protected function FindItem(const AName: string): TPasItemNode;
Protected procedure Adopt(const AChild: TPasItemNode);
Protected function Orphan(const AChild: TPasItemNode): boolean;
Protected procedure Sort;
Public constructor Create;
Public destructor Destroy; override;
Public function Level: Integer;

Properties

Public property Name: string read GetName;
Public property Item: TPasItem read FItem;
Public property Parent: TPasItemNode read FParent;

Description

Fields

Protected FChildren: TList;
 
Protected FParent: TPasItemNode;
 
Protected FItem: TPasItem;
 
Protected FName: string;
 

Methods

Protected function GetName: string;
 
Protected procedure AddChild(const Child: TPasItemNode); overload;
 
Protected function AddChild(const AName: string): TPasItemNode; overload;
 
Protected function AddChild(const AItem: TPasItem): TPasItemNode; overload;
 
Protected function FindItem(const AName: string): TPasItemNode;
 
Protected procedure Adopt(const AChild: TPasItemNode);
 
Protected function Orphan(const AChild: TPasItemNode): boolean;
 
Protected procedure Sort;
 
Public constructor Create;
 
Public destructor Destroy; override;
 
Public function Level: Integer;
 

Properties

Public property Name: string read GetName;
 
Public property Item: TPasItem read FItem;
 
Public property Parent: TPasItemNode read FParent;
 

Generated by PasDoc 0.15.0.