new Folder()
modules/core/modelList/folder/model.js, line 60
Properties:
Name | Type | Default | Description |
---|---|---|---|
isVisibleInMenu |
Boolean | true | Flag if folder is visible in menu. |
isRoot |
Boolean | false | Flag if folder belongs to first level. |
isExpanded |
Boolean | false | Flag if folder is expanded. |
isInitiallyExpanded |
Boolean | false | Flag if folder is expanded initially. |
isSelected |
Boolean | false | Flag if all children are selected. |
type |
String | "" | Flag what kind of item it is. "folder". |
parentId |
String | "" | Id of parent node. |
isLeafFolder |
Boolean | false | Flag if folder does not have subfolders. |
id |
String | "" | Unique id for folder. |
selectAllGlyphicon |
String | "glyphicon-unchecked" | Glyphicon class of folder to select all children. |
glyphicon |
String | "glyphicon-folder-open" | Glyphicon class of folder |
currentLng |
String | ""contains | the current language - view listens to it |
saveSelectionText |
String | "" | will be translated |
topicsHelpText |
String | "" | will be translated |
mapBackgroundText |
String | "" | will be translated |
pinTopicsTreeText |
String | "" | will be translated |
hideAllTopicsText |
String | "" | will be translated |
showAllTopicsText |
String | "" | will be translated |
obliqueModeBlacklist |
Array.<String> | ["tree,"tools" | List of folder ids that are not displayed in oblique mode("Schr�gluftbilder"). |
Extends
Methods
-
changeLang(lng){Void}
modules/core/modelList/folder/model.js, line 95 -
change language - sets default values for the language
Name Type Description lng
String the language changed to -
inherited setGlyphicon(value){void}
modules/core/modelList/item.js, line 69 -
Setter for glyphicon
Name Type Description value
String Glyphicon -
inherited setId(value){void}
modules/core/modelList/item.js, line 34 -
Setter for id
Name Type Description value
String Id -
setIsExpanded(value, options){void}
modules/core/modelList/folder/model.js, line 114 -
Setter for attribute "isExpanded".
Name Type Description value
Boolean Flag for isExpanded. options
Object Backbone options for setter -
inherited setIsInThemen(value){void}
modules/core/modelList/item.js, line 78 -
Setter for isInThemen
Name Type Description value
Boolean Flag if item is in themen -
setIsSelected(value, silent){void}
modules/core/modelList/folder/model.js, line 124 -
Setter for attribute "isSelected"
Name Type Description value
Boolean Flag for isSelected. silent
Boolean Flag if attribute should be set in silent-mode. -
inherited 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 -
inherited 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 -
inherited setLevel(value){void}
modules/core/modelList/item.js, line 87 -
Setter for level
Name Type Description value
String Level -
inherited setName(value){void}
modules/core/modelList/item.js, line 52 -
Setter for name
Name Type Description value
String Name -
inherited setParentId(value){void}
modules/core/modelList/item.js, line 43 -
Setter for parentId
Name Type Description value
String ParentId -
setSelectAllGlyphicon(value){void}
modules/core/modelList/folder/model.js, line 167 -
Sets the attribute "selectAllGlyphicon"
Name Type Description value
String Glyphicon class. -
inherited setType(value){void}
modules/core/modelList/item.js, line 60 -
Setter for type
Name Type Description value
String Type -
toggleIsExpanded(){void}
modules/core/modelList/folder/model.js, line 148 -
Toggles the attribute "isExpanded".
-
toggleIsSelected(){void}
modules/core/modelList/folder/model.js, line 135 -
Toggles the attribute "isSelected"
-
translate(key){void}
modules/core/modelList/folder/model.js, line 175 -
Translates the given key
Name Type Description key
String key to translate