Skip to content

TRootResTreeNode

The root node in a resource tree

Declaration

Source position: resourcetree.pp line 80

type

  TRootResTreeNode = class(TResourceTreeNode)
  protected
    function InternalFind : TAbstractResource;
  public
    constructor Create;
    function CreateSubNode : TResourceTreeNode;
    procedure Add;
    function FindFreeID : TResID;
  end;

Description

This node represents the root node of a resource tree.

It is the only node which must be created with its constructor: other nodes in the tree are automatically created when adding a resource, or calling CreateSubNode method of their parent.

Normally all search, add and delete operations on the tree are performed by calling methods of this node.

Methods

Member Visibility Description
Add public
Create public Creates a new root node
CreateSubNode public
FindFreeID public
InternalFind protected
See all Methods