|
Assign(TPersistent)
|
Represents method Assign(TPersistent). (Inherited from GTree.TGCustomTree.)
|
|
AssignTo(TPersistent)
|
Represents method AssignTo(TPersistent). (Inherited from GTree.TGCustomTree.)
|
|
BeginUpdate
|
Enables the tree to track when it is changing.
Call GTree.TGCustomTree.BeginUpdate before directly modifying the tree (adding or deleting nodes), and GTree.TGCustomTree.EndUpdate after. When implementing properties or methods that change the tree in descendants of the tree, call BeginUpdate before the changes are made, and EndUpdate when the changes are complete.
The BeginUpdate method may be nested inside other BeginUpdate method calls. The first call to BeginUpdate will fire an OnChanging event. The tree will not fire an GTree.TGCustomTree.OnChange event until an equal number of EndUpdate method calls are made. Therefore, always ensure you protect the calling of the EndUpdate method call in a try-finally block.
|
|
Change(TObject)
|
Called when the tree has changed (Inherited from GTree.TGCustomTree.)
|
|
Changing(TObject)
|
Called when the tree is about to change (Inherited from GTree.TGCustomTree.)
|
|
Clear
|
Clears and empties the tree of all nodes. The nodes are freed. (Inherited from GTree.TGCustomTree.)
|
|
Delete(TGCustomTreeNode)
|
Deletes the input node from the tree and all of its children. (Inherited from GTree.TGCustomTree.)
|
|
EndUpdate
|
Enables the graph to track when it has finished changing.
Call GTree.TGCustomTree.BeginUpdate before directly modifying the tree (adding or deleting nodes), and GTree.TGCustomTree.EndUpdate after. When implementing properties or methods that change the tree in descendants of the tree, call BeginUpdate before the changes are made, and EndUpdate when the changes are complete.
The BeginUpdate method may be nested inside other BeginUpdate method calls. The first call to BeginUpdate will fire an OnChanging event. The tree will not fire an GTree.TGCustomTree.OnChange event until an equal number of EndUpdate method calls are made. Therefore, always ensure you protect the calling of the EndUpdate method call in a try-finally block.
|
|
FindItemNode(TGCustomTreeNode,TRSTreeItem,TTraversalOrder)
|
Finds the tree node whose Item property equals the item parameter. (Inherited from GTree.TGCustomTree.)
|
|
FindNode(TGCustomTreeNode,TGCustomTreeNode,TTraversalOrder)
|
Finds the parent node of the input node. The function returns nil if a parent cannot be found that contains the input Node as one of its children. (Inherited from GTree.TGCustomTree.)
|
|
GetParentNode(TGCustomTreeNode)
|
Returns the parent node of the input Node, or nil if not found (Inherited from GTree.TGCustomTree.)
|
|
Infix(TGCustomTreeNode,TTreeIterator,LongInt)
|
Iterates over the entire tree in Infix order, where the first child of the current node is called first, then the current node, and then finally all other children of the current node.
For each node, the Iterator parameter is called, passing in the node and the ATag parameter.
|
|
IsLeaf(TGCustomTreeNode)
|
Returns true if the input node is a leaf node, i.e., a node that has no children. (Inherited from GTree.TGCustomTree.)
|
|
IsRoot(TGCustomTreeNode)
|
Returns true if the input node is the root node of the tree. (Inherited from GTree.TGCustomTree.)
|
|
NewNode
|
Constructs a new node for the trees. It is not attached to the other nodes of the tree. Call the TGCustomTreeNode.AddChild method to attach the node to another node in the tree. (Inherited from GTree.TGCustomTree.)
|
|
Postfix(TGCustomTreeNode,TTreeIterator,LongInt)
|
Iterates over the entire tree in Postfix order, where all children of the current node are called first, the the current node is called.
For each node, the Iterator parameter is called, passing in the node and the ATag parameter.
|
|
Prefix(TGCustomTreeNode,TTreeIterator,LongInt)
|
Iterates over the entire tree in Prefix order, where the current node is called first, then all children of the current node are called.
For each node, the Iterator parameter is called, passing in the node and the ATag parameter.
|
|
SetNodeType(TTreeNodeClass)
|
Specifies the TGCustomTreeNode class to use when creating tree nodes. (Inherited from GTree.TGCustomTree.)
|
|
Traverse(TGCustomTreeNode,TTreeIterator,TTraversalOrder,LongInt)
|
Traverses the tree starting at the current node. For each node in the subtree, the Iterator function is called passing in the node and ATag parameter. (Inherited from GTree.TGCustomTree.)
|