[Overview][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Abstract class representing a resource tree node.
Source position: resourcetree.pp line 29
type TResourceTreeNode = class |
||
protected |
||
function GetNamedCount; |
||
function GetNamedEntry(); |
||
function GetIDCount; |
||
function GetIDEntry(); |
||
function GetData; virtual; |
||
function InternalFind(); |
||
constructor Create; virtual; overload; |
||
property Parent: TResourceTreeNode; [r] |
||
public |
||
destructor Destroy; override; |
|
Destroys the object. |
procedure Add(); virtual; abstract; |
|
Adds a new resource to the tree |
function CreateSubNode(); virtual; abstract; |
|
Creates a subnode |
function CreateResource; virtual; |
|
Creates a new resource |
procedure Clear; |
|
Destroys all sub nodes |
function Remove(); |
|
Removes a resource from the tree |
function Find(); |
|
Searches for a resource |
function FindFreeID(); virtual; |
|
Find a free ID to be used as a resource name |
function IsLeaf; virtual; |
|
Reports whether the node is a leaf node. |
property Desc: TResourceDesc; [r] |
|
The description of the node |
property NamedCount: LongWord; [r] |
|
The number of named sub nodes of the node |
property NamedEntries []: TResourceTreeNode; [r] |
|
Indexed array of named sub nodes of the node |
|
The number of ID sub nodes of the node |
|
property IDEntries []: TResourceTreeNode; [r] |
|
Indexed array of ID sub nodes of the node |
|
To be used by readers and writers |
|
|
To be used by readers and writers |
|
|
To be used by readers and writers |
|
property Data: TAbstractResource; [r] |
|
The resource contained in this node |
end; |
|
Abstract class representing a resource tree node. |
|
| | ||
TObject |
This class represents a node in a resource tree.
Remark: | An object of this class should never be directly instantiated. To create a node, call CreateSubNode method of an already existing node. |