Class DwtTree
Class Detail
DwtTree(params)
Creates a Tree widget.
Author: Ross Dargahi.
Field Detail
<static>
DwtTree.CHECKEDITEM_STYLE
Defines the "checked-item" style.
<static>
DwtTree.MULTI_STYLE
Defines the "multi" style.
<static>
DwtTree.SINGLE_STYLE
Defines the "single" style.
Method Detail
addSelectionListener(listener)
Adds a selection listener.
addSeparator()
Adds a separator.
addTreeListener(listener)
Adds a tree listener.
clearItems()
Clears the tree items.
deselectAll()
De-selects all items.
{number}
getItemCount()
Gets the tree item count.
{array}
getItems()
Gets the items.
{number}
getNestingLevel()
Get the nesting level; this is zero for trees.
{array}
getSelection()
Gets an array of selection items.
{constant}
getStyle()
Gets the style.
{array}
getTreeItemList(visible)
Creates a flat list of this tree's items, going depth-first.
removeSelectionListener(listener)
Removes a selection listener.
removeTreeListener(listener)
Removes a selection listener.
|
||||||||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:30 GMT-0400 (EDT)
|