Class: ValueModel

Snippets.Slider ValueModel

ValueModel

new ValueModel()

modules/snippets/slider/valueModel.js, line 10

Extends

Methods

inherited 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]

inherited deselectValueModels(){void}

modules/snippets/model.js, line 68
Deselects all value models in the values collection

inherited 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

getDisplayString(){string}

modules/snippets/slider/valueModel.js, line 27
Returns DisplayName
Returns:
displayName with value

inherited hasSelectedValues(){boolean}

modules/snippets/model.js, line 58
Returns true if any of the value models is selected

initialize(){void}

modules/snippets/slider/valueModel.js, line 19
Setting initial values

inherited removeView(){void}

modules/snippets/model.js, line 50
Trigger removeView

inherited setAttr(value){void}

modules/snippets/model.js, line 116
Setter for attr
Name Type Description
value string attr

inherited setDisplayName(value){void}

modules/snippets/model.js, line 144
Setter for displayName
Name Type Description
value string displayName

inherited setId(value){void}

modules/snippets/model.js, line 98
Setter for id
Name Type Description
value string id

setInitValue(value){void}

modules/snippets/slider/valueModel.js, line 67
Setter function for initialValue
Name Type Description
value integer initialValue

setIsSelected(value, silent){void}

modules/snippets/slider/valueModel.js, line 37
Setter function for isSelected. Called by filter module when filter is removed.
Name Type Description
value integer isSelected
silent boolean isSilent

inherited setName(value){void}

modules/snippets/model.js, line 107
Setter for name
Name Type Description
value string name

inherited setPreselectedValues(value){void}

modules/snippets/model.js, line 126
Setter for preselectedValues
Name Type Description
value string preselectedValues

inherited setType(value){void}

modules/snippets/model.js, line 135
Setter for type
Name Type Description
value string type

setValue(value, silent){void}

modules/snippets/slider/valueModel.js, line 51
Setter function for value. Sets also always isSelected.
Name Type Description
value integer initialValue
silent boolean isSilent

inherited setValues(value){void}

modules/snippets/model.js, line 162
Setter for values
Name Type Description
value string values

inherited setValuesCollection(value){void}

modules/snippets/model.js, line 153
Setter for valuesCollection
Name Type Description
value string valuesCollection

inherited superInitialize(){void}

modules/snippets/model.js, line 26
Initialize after Child-Initialize

inherited 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