A standard hierarchical tree widget. The tree contains a hierarchy of
TreeItems that the user can open, close, and select.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| setSelectedItem(self,
item,
fireEvents=True) |
source code
|
|
|
|
|
|
|
|
|
|
| collectElementChain(self,
chain,
hRoot,
hElem) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onAttach(self)
Called when this widget has an element, and that element is on the
document's DOM tree, and we have a parent widget. |
source code
|
|
|
|
onDetach(self)
Called when this widget is being removed from the DOM tree of the
document. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| shouldTreeDelegateFocusToElement(self,
elem) |
source code
|
|
|
Inherited from Widget:
getID,
getLayoutData,
getParent,
isAttached,
removeFromParent,
setID,
setLayoutData,
setParent
Inherited from UIObject:
addStyleName,
getAbsoluteLeft,
getAbsoluteTop,
getElement,
getOffsetHeight,
getOffsetWidth,
getStyleName,
getTitle,
isVisible,
removeStyleName,
setElement,
setHeight,
setPixelSize,
setSize,
setStyleName,
setTitle,
setVisible,
setWidth,
setzIndex,
sinkEvents,
unsinkEvents
|