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.

class PCComponentTree

Run On

Called

  MethodDescription
JJ746905.protmethod(en-us,AX.60).gif addFormTreeItem Add a new form tree item.
JJ746905.protmethod(en-us,AX.60).gif addItem Adds a new form tree item.
JJ746905.protmethod(en-us,AX.60).gif advancePathEnumerator Advances an enumerator for a selected path when moving down the tree structure and selects the item at the end of the path.
JJ746905.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
JJ746905.protmethod(en-us,AX.60).gif createFormTreeItem Creates a form tree item.
JJ746905.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
JJ746905.protmethod(en-us,AX.60).gif getItemBaseText Retrieves the text representation of a record.
JJ746905.protmethod(en-us,AX.60).gif getItemIdxFromPath Retrieves the item index of a node at the end of a path.
JJ746905.protmethod(en-us,AX.60).gif getPathToItem Retrieves the path of an item in the tree.
JJ746905.pubmethod(en-us,AX.60).gif getSelected Retrieves the backing data of a selected item in the tree.
JJ746905.pubmethod(en-us,AX.60).gif getSelectedComponent Retrieves a selected component record in the tree.
JJ746905.pubmethod(en-us,AX.60).gif getSelectedPath Retrieves a selected path as a list of records.
JJ746905.pubmethod(en-us,AX.60).gif 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
JJ746905.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
JJ746905.protmethod(en-us,AX.60).gif getTreeIcon Retrieves the image index for a record.
JJ746905.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
JJ746905.pubmethod(en-us,AX.60).gif initTree Initializes a tree control by adding an image list.
JJ746905.protmethod(en-us,AX.60).gif isItemOnSelectedPath Indicates whether an item to be drawn is on the path of a selected node.
JJ746905.protmethod(en-us,AX.60).gif new Initializes a new instance of the PCComponentTree class.
JJ746905.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
JJ746905.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
JJ746905.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
JJ746905.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
JJ746905.pubmethod(en-us,AX.60).gif parmComponentContext Gets or sets the ComponentContext parameter.
JJ746905.pubmethod(en-us,AX.60).gif parmTree Gets or sets the Tree parameter.
JJ746905.protmethod(en-us,AX.60).gif pathsEqual Indicates whether two paths are equal.
JJ746905.pubmethod(en-us,AX.60).gif redrawTree Redraws the tree control in a form.
JJ746905.protmethod(en-us,AX.60).gif redrawTreeIcon Redraws the tree control icon in a form.
JJ746905.pubmethod(en-us,AX.60).gif selectionChanged Sets the current selection to the currently selected item on the form tree control.
JJ746905.protmethod(en-us,AX.60).gif setSelectedPathFromSelected Sets the path from a selected index.
JJ746905.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
JJ746905.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
JJ746905.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
JJ746905.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
JJ746905.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
JJ746905.pubmethod(en-us,AX.60).gif JJ746905.static(en-us,AX.60).gif ::construct Initializes a new instance of the PCComponentTree class.
JJ746905.pubmethod(en-us,AX.60).gif JJ746905.static(en-us,AX.60).gif ::newFromTreeComponent Construct a PCComponentTree instance from a form tree control and a component context that will be the root of the tree.
Top

Community Additions

ADD
Show: