Plumtree UI Infrastructure API  
 

TreeLeafNode Members

TreeLeafNode overview

Public Instance Constructors

TreeLeafNode Overloaded. Initializes a new instance of the TreeLeafNode class.

Public Instance Fields

m_bForceSelectable Whether or not to override the normal selectable logic and force this node to be selectable. true implies this node should be selectable no matter what.
m_bMultiplyInstanced Whether or not this node can be simultaneously located in multiple places. true implies there can be more than one instance of the object this node points to in the same tree. N.B. Multiply instanced items must use unique class ID / object ID pairs (per item, not per instance).
m_bSelected Whether or not this node is selected.
m_Image The default image for this object. For a composite node, this will be the closed image (the composite node will store the open image).
m_nClassID 
m_nObjectID 
m_nTreeNodeID unique internal ID for this node
m_strLocation 

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