PCComponentTreeWithAttributes Class [AX 2012]
The PCComponentTreeWithAttributes class handles the interaction with a form tree control that shows a configuration model as components and subcomponents with attributes.
| Method | Description | |
|---|---|---|
| addFormTreeItem | Add a new form tree item. (Inherited from PCComponentTree.) |
| addItem | Adds a new form tree item. (Inherited from PCComponentTree.) |
| advancePathEnumerator | Advances an enumerator for a selected path when moving down the tree structure and selects the item at the end of the path. (Inherited from PCComponentTree.) |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createFormTreeItem | Creates a form tree item. (Inherited from PCComponentTree.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| expandPathToItem | Expands an item and all its parents. |
| getItemBaseText | Gets the text representation of a record. (Overrides the getItemBaseText Method.) |
| getItemIdxFromPath | Retrieves the item index of a node at the end of a path. (Inherited from PCComponentTree.) |
| getItemIdxFromPathId | Retrieves the tree item index from a path ID. |
| getPathToItem | Retrieves the path of an item in the tree. (Inherited from PCComponentTree.) |
| getSelected | Retrieves the backing data of a selected item in the tree. (Inherited from PCComponentTree.) |
| getSelectedComponent | Retrieves a selected component record in the tree. (Inherited from PCComponentTree.) |
| getSelectedPath | Retrieves a selected path as a list of records. (Inherited from PCComponentTree.) |
| getSelectedPathId | Retrieves the path ID for the selected item. |
| 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 (Inherited from PCComponentTree.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTreeIcon | Gets the image index for a record. (Overrides the getTreeIcon Method.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initTree | Initializes the tree control by adding an Imagelist object. (Overrides the initTree Method.) |
| isItemOnSelectedPath | Indicates whether an item to be drawn is on the path of a selected node. (Inherited from PCComponentTree.) |
| new | Initializes a new instance of the PCComponentTree class. (Inherited from PCComponentTree.) |
| 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. (Inherited from PCComponentTree.) |
| parmTree | Gets or sets the Tree parameter. (Inherited from PCComponentTree.) |
| pathsEqual | Indicates whether two paths are equal. (Inherited from PCComponentTree.) |
| redrawTree | Redraws the tree control in the form. (Overrides the redrawTree Method.) |
| redrawTreeIcon | Redraws the tree control icon in the form. (Overrides the redrawTreeIcon Method.) |
| refreshItemText | Refreshes the text for an item. |
| selectionChanged | Sets the current selection to the currently selected item on the form tree control. (Inherited from PCComponentTree.) |
| selectPathId | Selects an item with the specified path ID. |
| setPathExtraText | Set the extra text for an item based on a path ID. |
| setPathId | Sets the path ID of an item given by a path. |
| setSelectedPathFromSelected | Sets the path from a selected index. (Inherited from PCComponentTree.) |
| 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 PCComponentTreeWithAttributes class. |
| ::newFromTreeComponent | Constructs a PCComponentTreeWithAttributes object from a form tree control and a component context which will be the root of the tree. |
Community Additions
ADD
Show: