Class: CUI.ListViewTreeNode
Defined in: | elements/ListView/ListViewTreeNode.coffee |
Inherits: | CUI.ListViewRow |
Overview
- coffeescript-ui - Coffeescript User Interface System (CUI)
- Copyright (c) 2013 - 2016 Programmfabrik GmbH
- MIT Licence
- https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
Direct Known Subclasses
CUI.ListViewTreeHeaderNode CUI.ObjectDumperNode
Variables Summary
- getChildren =
-
null
overwrite with Method
- hasChildren =
-
null
overwrite with Method
Variable inherited from CUI.ListViewRow
moveRow __selectableClass __movableClass defaults uniqueId
Instance Method Summary
- # (void) initOpts()
- # (void) readOpts()
- # (void) setColspan(colspan)
- # (void) getColspan()
- # (void) isLeaf()
- # (void) getClass()
- # (void) isSelectable()
- # (void) getFather()
- # (void) setFather(new_father)
- # (void) isRoot()
- # (void) setTree(tree)
- # (void) getRoot(call = 0)
- # (void) dump(lines = [], depth = 0)
- # (void) dumpString()
- # (void) getTree(call = 0)
- # (void) find(eq_func = null, nodes = []) find tree nodes, using the provided compare function
- # (void) filter(filter_func, filtered_nodes = []) filters the children by function
- # (void) getPath(include_self = false, path = [], call = 0)
- # (void) getChildIdx()
- # (void) getNodeId(include_self = true)
- # (void) getOpenChildNodes(nodes = [])
- # (void) getRowsToMove()
- # (void) isRendered()
- # (void) sort(func, level = 0)
- # (void) close()
- # (void) removeFromDOM(remove_self = true) remove_self == false only removs children
- # (void) replaceSelf() replaces node_element with a new render of ourself
- # (void) openRecursively() opens all children and grandchilden
- # (void) closeRecursively()
- # (void) __actionRecursively(action)
- # (void) isOpen()
- # (void) isLoading()
- # (void) getLoading()
- # (void) abortLoading()
- # (void) open() resolves with the opened node
- # (void) prependChild(node)
- # (void) addChild(node)
- # (void) prependSibling(node)
- # (void) appendSibling(node)
- # (void) initChildren()
- # (void) addNode(node, append = true)
- # (void) __appendNode(node, append = true) resolves with the appended node
- # (void) remove(keep_children_array = false, select_after = true)
- # (void) removeChild(child, keep_children_array = false)
- # (void) deselect(ev, new_node)
- # (void) allowRowMove()
- # (void) check_deselect(ev, new_node)
- # (void) isSelected()
- # (void) addSelectedClass()
- # (void) removeSelectedClass()
- # (void) setSelectedNode(node = null, key)
- # (void) getSelectedNode(key)
- # (void) getSelectedNodeKey()
- # (void) select(event)
- # (void) openUpwards(level = 0) resolves with the innermost node
- # (void) level()
- # (void) renderContent()
- # (void) update(update_root = false) Bound
- # (void) reload()
- # (void) showSpinner()
- # (void) hideSpinner()
- # (void) render()
- # (void) moveToNewFather(new_father, new_child_idx)
- # (void) moveNodeBefore(to_node, new_father, after) needs to return a promise
- # (void) moveNodeAfter(to_node, new_father, after)
Inherited Method Summary
Methods inherited from
CUI.ListViewRow
#initOpts #readOpts #addColumn #setColumn #prependColumn #setSelectable #isSelectable #isMovable #removeColumns #getColumns #setRowIdx #getDOMNodes #getRowIdx #scrollIntoView #getDisplayRowIdx #addedToListView #isAddedToListView #setListView #getListView #getClass #setClass #addClass #removeClass #select #deselect #isSelected #remove #getElementClass #getUniqueId #getOpts #getOpt #hasOpt #getSetOpt #hasSetOpt #copy #mergeOpt #removeOpt #addOpt #addOpts #mergeOpts #__getCheckMap #readOptsFromAttr #proxy #destroy #isDestroyed .getOptKeys
Instance Method Details
#
(void)
initOpts()
#
(void)
readOpts()
#
(void)
setColspan(colspan)
#
(void)
getColspan()
#
(void)
isLeaf()
#
(void)
getClass()
#
(void)
isSelectable()
#
(void)
getFather()
#
(void)
setFather(new_father)
#
(void)
isRoot()
#
(void)
setTree(tree)
#
(void)
getRoot(call = 0)
#
(void)
dump(lines = [], depth = 0)
#
(void)
dumpString()
#
(void)
getTree(call = 0)
#
(void)
find(eq_func = null, nodes = [])
find tree nodes, using the provided compare function
#
(void)
filter(filter_func, filtered_nodes = [])
filters the children by function
#
(void)
getPath(include_self = false, path = [], call = 0)
#
(void)
getChildIdx()
#
(void)
getNodeId(include_self = true)
#
(void)
getOpenChildNodes(nodes = [])
#
(void)
getRowsToMove()
#
(void)
isRendered()
#
(void)
sort(func, level = 0)
#
(void)
close()
#
(void)
removeFromDOM(remove_self = true)
remove_self == false only removs children
#
(void)
replaceSelf()
replaces node_element with a new render of ourself
#
(void)
openRecursively()
opens all children and grandchilden
#
(void)
closeRecursively()
#
(void)
__actionRecursively(action)
#
(void)
isOpen()
#
(void)
isLoading()
#
(void)
getLoading()
#
(void)
abortLoading()
#
(void)
open()
resolves with the opened node
#
(void)
prependChild(node)
#
(void)
addChild(node)
#
(void)
prependSibling(node)
#
(void)
appendSibling(node)
#
(void)
initChildren()
#
(void)
addNode(node, append = true)
#
(void)
__appendNode(node, append = true)
resolves with the appended node
#
(void)
remove(keep_children_array = false, select_after = true)
#
(void)
removeChild(child, keep_children_array = false)
#
(void)
deselect(ev, new_node)
#
(void)
allowRowMove()
#
(void)
check_deselect(ev, new_node)
#
(void)
isSelected()
#
(void)
addSelectedClass()
#
(void)
removeSelectedClass()
#
(void)
setSelectedNode(node = null, key)
#
(void)
getSelectedNode(key)
#
(void)
getSelectedNodeKey()
#
(void)
select(event)
#
(void)
openUpwards(level = 0)
resolves with the innermost node
#
(void)
level()
#
(void)
renderContent()
#
(void)
update(update_root = false)
Bound
#
(void)
reload()
#
(void)
showSpinner()
#
(void)
hideSpinner()
#
(void)
render()
#
(void)
moveToNewFather(new_father, new_child_idx)
#
(void)
moveNodeBefore(to_node, new_father, after)
needs to return a promise
#
(void)
moveNodeAfter(to_node, new_father, after)