new SnippetModel()
modules/snippets/model.js, line 15
Properties:
Name | Type | Default | Description |
---|---|---|---|
infoText |
object | ToDo | |
name |
string | "" | ToDo |
attr |
object | ToDo | |
valuesCollection |
object | ValuesCollection der children |
Fires:
- Parser#event:RadioRequestParserGetSnippetInfos
Extends
Methods
-
checkSnippetInfos(snippetInfos, name){void}
modules/snippets/model.js, line 40 -
Checks if info text is available and sets it
Name Type Description snippetInfos
object [description] name
string [description] -
deselectValueModels(){void}
modules/snippets/model.js, line 68 -
Deselects all value models in the values collection
-
extentBaseModel(obj){object}
modules/snippets/model.js, line 79 -
Extent Object with new ValueModel
Name Type Description obj
object Object to be extended Returns:
extended Object
-
hasSelectedValues(){boolean}
modules/snippets/model.js, line 58 -
Returns true if any of the value models is selected
-
removeView(){void}
modules/snippets/model.js, line 50 -
Trigger removeView
-
setAttr(value){void}
modules/snippets/model.js, line 116 -
Setter for attr
Name Type Description value
string attr -
setDisplayName(value){void}
modules/snippets/model.js, line 144 -
Setter for displayName
Name Type Description value
string displayName -
setId(value){void}
modules/snippets/model.js, line 98 -
Setter for id
Name Type Description value
string id -
setName(value){void}
modules/snippets/model.js, line 107 -
Setter for name
Name Type Description value
string name -
setPreselectedValues(value){void}
modules/snippets/model.js, line 126 -
Setter for preselectedValues
Name Type Description value
string preselectedValues -
setType(value){void}
modules/snippets/model.js, line 135 -
Setter for type
Name Type Description value
string type -
setValues(value){void}
modules/snippets/model.js, line 162 -
Setter for values
Name Type Description value
string values -
setValuesCollection(value){void}
modules/snippets/model.js, line 153 -
Setter for valuesCollection
Name Type Description value
string valuesCollection -
superInitialize(){void}
modules/snippets/model.js, line 26 -
Initialize after Child-Initialize
-
triggerValuesChanged(model, value){void}
modules/snippets/model.js, line 89 -
Trigger valuesChanged to children
Name Type Description model
object Model to be transmitted value
string Value to be transmitted