PCComponentTree Class [AX 2012]
The PCComponentTree class handles the interaction with a form tree control that shows a configuration model as components and sub-components.
| Method | Description | |
|---|---|---|
| addFormTreeItem | Add a new form tree item. |
| addItem | Adds a new form tree item. |
| advancePathEnumerator | Advances an enumerator for a selected path when moving down the tree structure and selects the item at the end of the path. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createFormTreeItem | Creates a form tree item. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getItemBaseText | Retrieves the text representation of a record. |
| getItemIdxFromPath | Retrieves the item index of a node at the end of a path. |
| getPathToItem | Retrieves the path of an item in the tree. |
| getSelected | Retrieves the backing data of a selected item in the tree. |
| getSelectedComponent | Retrieves a selected component record in the tree. |
| getSelectedPath | Retrieves a selected path as a list of records. |
| getSelectedSubComponentPathAsSolverNames | Builds a the path to the current selected Subcomponent from root downwards int the tree structure. The root itself is not included in the path |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTreeIcon | Retrieves the image index for a record. |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initTree | Initializes a tree control by adding an image list. |
| isItemOnSelectedPath | Indicates whether an item to be drawn is on the path of a selected node. |
| new | Initializes a new instance of the PCComponentTree 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. |
| pathsEqual | Indicates whether two paths are equal. |
| redrawTree | Redraws the tree control in a form. |
| redrawTreeIcon | Redraws the tree control icon in a form. |
| selectionChanged | Sets the current selection to the currently selected item on the form tree control. |
| setSelectedPathFromSelected | Sets the path from a 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 PCComponentTree class. |
| ::newFromTreeComponent | Construct a PCComponentTree instance from a form tree control and a component context that will be the root of the tree. |
Community Additions
ADD
Show: