Plumtree UI Infrastructure API  
 

TreeLeafNode Methods

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

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetDescription This method returns the description of the node (HTMLEncoded). If there is no description, it returns the name.
GetEncodedName 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.
GetName 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.
GetType (inherited from Object)Gets the Type of the current instance.
SetDescription 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 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 This method sets the name and description of the node by copying the truncated and encoded versions from the node.
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

TreeLeafNode Class | com.plumtree.uiinfrastructure.tree Namespace