Class DwtTreeItem
Class Detail
DwtTreeItem(params)
Creates a Tree Item.
Author: Ross Dargahi.
Method Detail
addSeparator(index)
Adds a separator at the given index. If no index is provided, adds it at the
end. A separator cannot currently be added as the first item (the child DIV will
not have been created).
enableSelection(enable)
Enables (or disables) the selection.
{boolean}
getChecked()
Checks if the item is checked.
{*}
getData(key)
override DwtControl.prototype.getData to take care of special case of KEY_OBJECT of type ZmOrganizer. See bug 82027
{string}
getImage()
Gets the image.
{number}
getItemCount()
Gets the child item count.
{array}
getItems()
Gets the items.
{number}
getNestingLevel()
Get the nesting level; the toplevel tree is zero, and each lower layer
increases by one.
{string}
getText()
Gets the text.
setChecked(checked, force)
Sets the checked flag.
setDndText(text)
Sets the drag-and-drop text.
setExpanded(expanded, recurse, skipNotify)
Expands or collapses this tree item.
setImage(imageInfo)
Sets the image.
setText(text)
Sets the text.
setTreeItemColor(className)
Sets the tree item color.
setVisible(visible, itemOnly, childOnly)
Makes this tree item, or just part of it, visible or hidden.
showCheckBox(show)
Shows (or hides) the check box.
showExpansionIcon(show)
Shows (or hides) the expansion icon.
|
||||||||||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:30 GMT-0400 (EDT)
|