PBAFormTreeDatasource Class [AX 2012]
Creates a modeling tree and manages operations such as inserting a node, dragging a node, and closing a node.
| Method | Description | |
|---|---|---|
| allowInsert | Determines whether nodes can be inserted in the modeling tree. |
| begindrag | |
| buildSubTree | Builds a subtree according to the specified parameters. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| checkIsNodeOpenInForm | |
| closeNode | Closes a node in the tree and saves the node data. |
| copy | Copies a node in the modeling tree. |
| create | Creates a new node in the modeling tree. |
| cut | Removes a node from the modeling tree and copies the data to the clipboard so that it can be pasted back into the tree. |
| delete | Deletes the node that is currently selected from the modeling tree. |
| delFromDoneNode | |
| dragNode | |
| drop | Drops a node onto a new location in the modeling tree after a drag operation. |
| dropIcon | Inserts a node onto the modeling tree after a drag operation or after double-clicking the list of available nodes. |
| edit | |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| exchangeNode | Exchanges the position of two nodes when the nodes are moved up or down using the shortcut menu. |
| expanding | |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| iconListNode | |
| initRoot | |
| insert | |
| insertDoneNode | |
| movedown | Moves the selected node down one node in the tree. |
| moveup | Moves the selected node one node up in the tree. |
| new | |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| onItem | |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmTree | Gets or sets the Tree parameter. |
| redraw | Redraws the modeling tree. |
| selectionChanged | |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| subTreeQueryRun | Returns all subnodes of the current node. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateDelete | |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::nodeText |
Call the PBAFormTreeDatasource.initRoot method to initialize the modeling tree before using the methods in this class.
An instance of this class is created every time the PBATreeForm.linkActive method is called.
Community Additions
ADD
Show: