Uiinfrastructure API Docs  
 

TreeCompositeNode Methods

The methods of the TreeCompositeNode class are listed below. For a complete list of TreeCompositeNode class members, see the TreeCompositeNode Members topic.

Public Instance Methods

AddCompositeChild 
AddLeafChild 
ClearSelected 
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetCompositeChildIterator 
GetDescription (inherited from TreeLeafNode) This method returns the description of the node (HTMLEncoded). If there is no description, it returns the name.
GetEncodedName (inherited from TreeLeafNode) This method returns the name of the node (truncated to 50 characters and HTMLEncoded). The name is stored truncated and encoded, so this method is fast. Tracing should use this method, even though it does not need to encode the name.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLeafChildCount This method calculates how many leaf children this node contains.
GetLeafChildIterator 
GetName (inherited from TreeLeafNode) This method returns the name of the node (truncated to 50 characters). This method unencodes the stored encoded name, so it should only be used when retrieving the final tree selections. Tracing should use the GetEncodedName method.
GetNodeOverloaded.  
GetType (inherited from Object)Gets the Type of the current instance.
RemoveCompositeChild 
RemoveLeafChild 
SetDescription (inherited from TreeLeafNode) This method sets the description of the node and HTMLEncodes it. This will ignore the description if it is null or the empty string.
SetName (inherited from TreeLeafNode) This method sets the name of the node, truncates it to 50 characters, and HTMLEncodes it. This also sets the description to the full name, if there is no description set.
SetNameAndDescription (inherited from TreeLeafNode) This method sets the name and description of the node by copying the truncated and encoded versions from the node.
SetSelected This method searches the entire tree for nodes with the classID and objectID and sets them to selected. This should only be used for multiply instanced nodes.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

TreeCompositeNode Class | com.plumtree.uiinfrastructure.tree Namespace