Package: | Ext.tree |
Defined In: | TreeNodeUI.js |
Class: | TreeNodeUI |
Subclasses: | ColumnNodeUI |
Extends: | Object |
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
Method | Defined By | |
---|---|---|
addClass( String/Array className )
:
voidAdds 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:
| TreeNodeUI | |
getAnchor()
:
HtmlElement Returns the <a> element that provides focus for the node's UI. Returns the <a> element that provides focus for the node's UI. Parameters:
| TreeNodeUI | |
getIconEl()
:
HtmlElement Returns the icon <img> element. Returns the icon <img> element. Parameters:
| TreeNodeUI | |
getTextEl()
:
HtmlNode Returns the text node. Returns the text node. Parameters:
| TreeNodeUI | |
hide()
:
void Hides this node. Hides this node. Parameters:
| TreeNodeUI | |
isChecked()
:
Boolean 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. Parameters:
| TreeNodeUI | |
removeClass( String/Array className )
:
voidRemoves one or more CSS classes from the node's UI element. Removes one or more CSS classes from the node's UI element. Parameters:
| TreeNodeUI | |
show()
:
void Shows this node. Shows this node. Parameters:
| TreeNodeUI | |
toggleCheck( Boolean (optional) )
:
voidSets 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:
| TreeNodeUI |