new Item()
modules/core/modelList/item.js, line 18
Module to represent any Item (Folder, Tool, Layer, ...)
Properties:
Name | Type | Default | Description |
---|---|---|---|
name |
String | "" | Name of item |
id |
String | "" | Id of item |
parentId |
String | "" | Parent id of item |
type |
String | "" | Type of item: folder/layer/tool/staticlink |
title |
String | "no | title defined" Title of item to be displayed |
glyphicon |
String | "" | Bootstrap glyphicon class of item |
isInThemen |
Boolean | false | Flag if item is in layer tree |
level |
Number | 0 | Level of selected layer |
isVisibleInTree |
Boolean | false | Flag if item is initially visible in layer tree |
Extends
Methods
-
setGlyphicon(value){void}
modules/core/modelList/item.js, line 69 -
Setter for glyphicon
Name Type Description value
String Glyphicon -
setId(value){void}
modules/core/modelList/item.js, line 34 -
Setter for id
Name Type Description value
String Id -
setIsInThemen(value){void}
modules/core/modelList/item.js, line 78 -
Setter for isInThemen
Name Type Description value
Boolean Flag if item is in themen -
setIsVisibleInMenu(value){void}
modules/core/modelList/item.js, line 105 -
Setter for setIsVisibleInMenu
Name Type Description value
Boolean Flag if item is visible in menu -
setIsVisibleInTree(value){void}
modules/core/modelList/item.js, line 96 -
Setter for isVisibleInTree
Name Type Description value
Boolean Flag if item is visible in layertree -
setLevel(value){void}
modules/core/modelList/item.js, line 87 -
Setter for level
Name Type Description value
String Level -
setName(value){void}
modules/core/modelList/item.js, line 52 -
Setter for name
Name Type Description value
String Name -
setParentId(value){void}
modules/core/modelList/item.js, line 43 -
Setter for parentId
Name Type Description value
String ParentId -
setType(value){void}
modules/core/modelList/item.js, line 60 -
Setter for type
Name Type Description value
String Type