Class: StyleWmsView

Tools.StyleWMS StyleWmsView

StyleWmsView

new StyleWmsView()

modules/tools/styleWMS/view.js, line 47
View for style wms. Reacts to user input
Listens to Events:
  • StyleWmsModel#event:sync
  • StyleWmsModel#event:changeIsActive
  • StyleWmsModel#event:changeModel
  • StyleWmsModel#event:changeAttributeName
  • StyleWmsModel#event:changeNumberOfClasses

Extends

Methods

createSLD(){void}

modules/tools/styleWMS/view.js, line 163
Creates sld in model

hide(){void}

modules/tools/styleWMS/view.js, line 212
Hides Tool

removeErrorMessages(){void}

modules/tools/styleWMS/view.js, line 203
Removes error messages

render(){Backbone.View}

modules/tools/styleWMS/view.js, line 78
render styleWms view
Returns:
itself when rendered

reset(){void}

modules/tools/styleWMS/view.js, line 107
resets Tool

setAttributeName(evt){void}

modules/tools/styleWMS/view.js, line 117
Calls setAttributeName in model
Name Type Description
evt ChangeEvent -

setModelById(evt){void}

modules/tools/styleWMS/view.js, line 126
Calls setModelById in model
Name Type Description
evt ChangeEvent -

setNumberOfClasses(evt){void}

modules/tools/styleWMS/view.js, line 135
Calls setNumberOfClasses in model
Name Type Description
evt ChangeEvent -

setStyleClassAttributes(){void}

modules/tools/styleWMS/view.js, line 144
Creates and sets style-classes in model

showErrorMessages(){void}

modules/tools/styleWMS/view.js, line 171
Shows error Messages