System Reference Summary : 3. System Classes : Tree Class : Tree Methods
 
Share this page                  
Tree Methods
Method
Return
Value
Description
Inherited From
AddNode
(name =
nvarchar(256)
[,keylabel = varchar(256),
relative =
TreeNode,
relation = integer])
TreeNode
Adds a new node to the tree
Defined
CopyNode
(sourcenode =
TreeNode,
destnode =
TreeNode,
[relation = integer,
childnumber = integer)
TreeNode
Copies a node or branch from one place in a tree to another place in the same tree or a different tree
Defined
DeleteNode(node = TreeNode,
keylabel =
varchar(256),
name =
nvarchar(256)
[,allnodes = integer])
none
Deletes a node from the tree
Defined
Duplicate()
Tree
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
IsA
(class =
classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
MoveNode
(sourcenode =
TreeNode,
destnode = TreeNode,
[relation = integer,
childnumber = integer)
TreeNode
Moves a node or branch from one place in a tree to another place in the same tree or a different tree
Defined
NextNode()
none
Returns the next node in the tree or NULL if all nodes have been visited
Defined
NodeByKey
(keylabel =
varchar(256))
TreeNode
Retrieves a TreeNode object with the matching key
Defined
NodeByName
(name =
nvarchar(256))
TreeNode
Retrieves a TreeNode object with the matching name
Defined
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
SetBranchChecked
(
[node = TreeNode,
checkstate = integer,
includetopnode = integer])
TreeNode
Sets all descendants of a node (optionally including the node itself) to be either checked or not checked
Defined
Sort([node = TreeNode,
recursive = integer],
attributename = order
{,attributename = order})
integer
Sorts treenodes on one attribute or on an array of attributes
Defined
StartTraverse
(node =
Treenode,
traverseorder =
integer)
integer
Specifies the node to start traversing from. If the node is set to NULL or is unspecified, then all nodes of the tree are to be traversed.
Defined
StopTraverse()
none
Frees memory used for traversing
Defined