Class: FolderViewTree

Menu.Desktop.Folder FolderViewTree

FolderViewClassic

new FolderViewTree()

modules/menu/desktop/folder/viewClassic.js, line 19
Listens to Events:
  • FolderViewClassic#event:changeIsSelected
  • FolderViewClassic#event:changeIsExpanded
  • FolderViewClassic#event:isVisibleInTree

Extends

Methods

removeIfNotVisible(){void}

modules/menu/desktop/folder/viewTree.js, line 116
Remove if not visible

render(){FolderViewTree}

modules/menu/desktop/folder/viewClassic.js, line 39
Renders the data to DOM.
Returns:
this

render(){FolderViewTree}

modules/menu/desktop/folder/viewTree.js, line 49
Renders the data to DOM.
Returns:
this

rerender(){void}

modules/menu/desktop/folder/viewTree.js, line 90
Rerenders the data to DOM.

toggleAllChilds(model, visible){void}

modules/menu/desktop/folder/viewClassic.js, line 116
Toggle the visibility state on all childs, including folders
Name Type Description
model Object The model to toggle visibility for
visible Boolean The visibility

toggleIsExpanded(){void}

modules/menu/desktop/folder/viewTree.js, line 99
Toogle Expanded

toggleIsSelected(evt){void}

modules/menu/desktop/folder/viewClassic.js, line 59
Override to correctly display visibility state on folders
Name Type Description
evt Event The browser event

toggleIsSelected(){void}

modules/menu/desktop/folder/viewTree.js, line 107
Toggle Selected
Fires:
  • ModelList#event:RadioTriggerModelListSetIsSelectedOnChildLayers

updateParentVisibility(model){void}

modules/menu/desktop/folder/viewClassic.js, line 81
Update parent folders recursively to reflect `partly` visibility state
Name Type Description
model Object The current folder model

Events

changeIsExpanded

devtools/jsdoc/events.js, line 1258
todo
Listeners of This Event:

changeIsSelected

devtools/jsdoc/events.js, line 1243
todo
Listeners of This Event:

changeIsSelected

devtools/jsdoc/events.js, line 1253
todo

isVisibleInTree

devtools/jsdoc/events.js, line 1248
todo
Listeners of This Event:

toggleIsExpanded

devtools/jsdoc/events.js, line 1263
todo

toggleIsSelected

devtools/jsdoc/events.js, line 1268
todo

Menu.Desktop.Folder FolderViewTree

FolderViewTree

new FolderViewTree()

modules/menu/desktop/folder/viewTree.js, line 26
Fires:
Listens to Events:

Extends

Methods

removeIfNotVisible(){void}

modules/menu/desktop/folder/viewTree.js, line 116
Remove if not visible

render(){FolderViewTree}

modules/menu/desktop/folder/viewClassic.js, line 39
Renders the data to DOM.
Returns:
this

render(){FolderViewTree}

modules/menu/desktop/folder/viewTree.js, line 49
Renders the data to DOM.
Returns:
this

rerender(){void}

modules/menu/desktop/folder/viewTree.js, line 90
Rerenders the data to DOM.

toggleAllChilds(model, visible){void}

modules/menu/desktop/folder/viewClassic.js, line 116
Toggle the visibility state on all childs, including folders
Name Type Description
model Object The model to toggle visibility for
visible Boolean The visibility

toggleIsExpanded(){void}

modules/menu/desktop/folder/viewTree.js, line 99
Toogle Expanded

toggleIsSelected(evt){void}

modules/menu/desktop/folder/viewClassic.js, line 59
Override to correctly display visibility state on folders
Name Type Description
evt Event The browser event

toggleIsSelected(){void}

modules/menu/desktop/folder/viewTree.js, line 107
Toggle Selected
Fires:
  • ModelList#event:RadioTriggerModelListSetIsSelectedOnChildLayers

updateParentVisibility(model){void}

modules/menu/desktop/folder/viewClassic.js, line 81
Update parent folders recursively to reflect `partly` visibility state
Name Type Description
model Object The current folder model

Events

changeIsExpanded

devtools/jsdoc/events.js, line 1258
todo
Listeners of This Event:

changeIsSelected

devtools/jsdoc/events.js, line 1243
todo
Listeners of This Event:

changeIsSelected

devtools/jsdoc/events.js, line 1253
todo

isVisibleInTree

devtools/jsdoc/events.js, line 1248
todo
Listeners of This Event:

toggleIsExpanded

devtools/jsdoc/events.js, line 1263
todo

toggleIsSelected

devtools/jsdoc/events.js, line 1268
todo