PCRuntimeComponentTree Class [AX 2012]
The PCRuntimeComponentTree class handles the interaction with a form tree control which shows a configuration model as components and sub-components.
| Method | Description | |
|---|---|---|
| addFormTreeItem | Adds a new form tree item. |
| addItem | Adds a new form tree item. |
| advancePathEnumerator | Advances the enumerator for the selected path when traverse down the tree structure and select the item at the end of the path. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createFormTreeItem | Factory method to create form tree item. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getItemBaseText | Determine the text representation of an item. |
| getItemIdxFromPath | Retrieves the item index of the node at the end of a path. |
| getPathToItem | Retrieves the path of an item in the tree. |
| getSelectedComponent | Retrieves the selected component. |
| getSelectedPath | Retrieves the selected path as a list of runtime components. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTreeIcon | Determine the image index for component. |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| hasNext | Determines whether the selected node has a next node that can be selected. |
| initTree | Initializes the tree control by adding an image list. |
| isItemOnSelectedPath | Determines whether the item to be drawn is on the path of the selected node. |
| new | Initializes a new instance of the PCRuntimeComponentTree class. |
| 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.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmComponentContext | Gets or sets the ComponentContext parameter. |
| parmTree | Gets or sets the Tree parameter. |
| redrawTree | Redraws the tree control in the form. |
| redrawTreeIcon | Redraws the tree control icon in the form. |
| selectionChanged | Sets the current selection in accordance to the currently selected item on the form tree control. |
| selectNext | Selects the next node in the tree. |
| setSelectedPathFromSelected | Sets the path from the selected index. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| 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.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Initializes a new instance of the PCRuntimeComponentTree class. |
| ::newFromTreeComponent | Construct a PCRuntimeComponentTree instance from a form tree control and a component context which will be the root of the tree. |
Community Additions
ADD
Show: