Class
zebkit.ui.design.FormTreeModel
extends <zebkit.data.TreeModel> |
<zebkit.ui.design> |
Special tree model implementation that represents zebkit UI component hierarchy as a simple tree model.
Inherited methods:
add([to], an)
fire(name, [path], [params])
insert(to, an, i)
iterate(r, f)
off([eventName], [path], [cb])
on([eventName], [path], cb)
remove(item)
removeKids(item)
setValue(item, v)
public
<zebkit.data.Item>
buildModel (comp )
Build tree model by the given UI component. Parameters:
Returns:
<zebkit.data.Item>
a root tree model item |
public
<zebkit.data.Item>
itemByComponent (c )
Find a tree item that relates to the given component. Parameters:
Returns:
<zebkit.data.Item>
a tree item. |