Class: LightMenu

Menu.Desktop LightMenu

ClassicTree

new LightMenu(isReload)

modules/menu/desktop/classicTree.js, line 22
Name Type Description
isReload boolean Flag indicating if tree is reloaded
Fires:
  • ModelList#event:RadioRequestModelListGetCollection
  • Autostart#event:RadioTriggerAutostartInitializedModul
Listens to Events:
  • Autostart#event:RadioTriggerAutostartStartModul
  • LayerClassicView#event:UpdateClassicTree
  • ModelList#event:updateOverlayerView

Extends

Methods

inherited addCatalogFolderView(model){void}

modules/menu/desktop/listViewMain.js, line 87
Add Catalog Folder View
Name Type Description
model * to do

inherited addDesktopFolderView(model){void}

modules/menu/desktop/listViewMain.js, line 95
Add Desktop Folder View
Name Type Description
model * to do

addItems(models){void}

modules/menu/desktop/classicTree.js, line 177
Add the items
Name Type Description
models Array Array of models

inherited addStaticLinkView(model){void}

modules/menu/desktop/listViewMain.js, line 119
Add Static Link View
Name Type Description
model * to do

inherited addToolView(model){void}

modules/menu/desktop/listViewMain.js, line 111
Add Tool View
Name Type Description
model * to do

inherited addViewpointView(model){void}

modules/menu/desktop/listViewMain.js, line 103
Add Viewpoint View
Name Type Description
model * to do

checkFolderFilter(folderModel, filterString){boolean}

modules/menu/desktop/classicTree.js, line 273
Recursive function to filter hierarchical folder structures
Name Type Description
folderModel model Input folder model
filterString String Filter string
Returns:
if a child model (layer or folder) name applies to filter

hasMatchingParent(model, searchTerm){boolean}

modules/menu/desktop/classicTree.js, line 301
Recursive function to determine if model has a matching parent node
Name Type Description
model * Input model
searchTerm * The searchTerm to compare with
Returns:
if a parent model (folder) name applies to filter

inherited parseViews(models){void}

modules/menu/desktop/listViewMain.js, line 51
Parse Views
Name Type Description
models Array to do

removeLayerById(id){void}

modules/menu/desktop/classicTree.js, line 252
Removes a layer from the layer tree and thus from the map.
Name Type Description
id String The ID of the layer (tree) model

inherited removeView(){void}

modules/menu/desktop/listViewMain.js, line 126
Remove View

renderFilterField(){void}

modules/menu/desktop/classicTree.js, line 168
Renders the filter input field on top of the tree.

inherited renderMain(){void}

modules/menu/desktop/listViewMain.js, line 25
Render Main

renderSubTree(parentId, firstRender){void}

modules/menu/desktop/classicTree.js, line 92
Renders all layers and folders recursively starting from the given parent
Name Type Description
parentId string The id of the parent to start from
firstRender boolean Flag indicating if the tree is initially build

inherited renderTopMenu(){void}

modules/menu/desktop/listViewMain.js, line 39
Render the top menu

renderTree(firstRender){void}

modules/menu/desktop/classicTree.js, line 64
Renders the tree.
Name Type Description
firstRender Boolean Whether it's the first render run or not.

setAllDescendantsInvisible(parentId){void}

modules/menu/desktop/classicTree.js, line 210
Sets all models (layer/folder/tools) of a parent id to invisible in the tree in mobile mode folders are closed
Name Type Description
parentId String id of the parent model

setAllDescendantsVisible(parentId){void}

modules/menu/desktop/classicTree.js, line 235
Sets all models (layer/folder/tools) of a parent id to visible in the tree
Name Type Description
parentId String id of the parent model

setVisibleByParentIsExpanded(parentId){void}

modules/menu/desktop/classicTree.js, line 193
Sets all children visible or invisible depending on the parents attribute `isExpanded`
Name Type Description
parentId String The Id of the parent whose children should be set visible