This class provides the default UI implementation for Ext TreeNodes.
The TreeNode UI implementation is separate from the
tree implementation, and allows customizing of the appearance of
tree nodes.
If you are customizing the Tree's user interface, you
may need to extend this class, but you should never need to instantiate this class.
This class provides access to the user interface components of an Ext TreeNode, through
Ext.tree.TreeNode.getUI
addCls(
String/Array className ) : Void
Adds one or more CSS classes to the node's UI element.
Duplicate classes are automatically filtered out.
Adds one or more CSS classes to the node's UI element.
Duplicate classes are automatically filtered out.
Parameters
Returns
Returns the <a> element that provides focus for the node's UI.
Returns the <a> element that provides focus for the node's UI.
Returns the element which encapsulates this node.
Returns the element which encapsulates this node.
Returns the icon <img> element.
Returns the icon <img> element.
Returns the text node.
Returns the text node.
Hides this node.
Hides this node.
Returns the checked status of the node. If the node was rendered with no
checkbox, it returns false.
Returns the checked status of the node. If the node was rendered with no
checkbox, it returns false.
Removes one or more CSS classes from the node's UI element.
Removes one or more CSS classes from the node's UI element.
Parameters
Returns
Shows this node.
Shows this node.
Sets the checked status of the tree node to the passed value, or, if no value was passed,
toggles the checked status....
Sets the checked status of the tree node to the passed value, or, if no value was passed,
toggles the checked status. If the node was rendered with no checkbox, this has no effect.
Parameters
Returns