Configuration for the symbology settings view-model.
Configuring the widget will produce events that should be ignored
The colors used in the symbology.
The currently selected polygon fill style
Styles available to polygon fills.
A method to get the symbol from the text widget
View model has been configured and is ready to go
Configure the widget to display appropriate options
The currently selected line style
Styles available to lines.
Observable for the user-selected line width.
View model for the user-selected marker size widget.
These are used to translate style ids from Esri JS API to Esri REST API form
The currently selected markerStyle
Styles available to point markers.
Independantly of configuration, hides the outline swatch for symbols that do not support this (X and +)
If this view makes up part of a symbology configuration view the parent can be attached here
Allow the selection of outline styles
Allow the user to select outline color independently of fill
Final resultant symbols, the end-product of this widget.
Returns a renderer based on the current widget setttings as a JSON string Private: Call 'getRenderer' on SimpleSymbolWidget
Returns a symbol as a json string, based on the current widget settings Private: Call 'getSymbol' on SimpleSymbolWidget
Returns the widget to the default state (as defined by the configuration object) Private: Call 'reset' on SimpleSymbolWidget
Set the feature type of this widget to point, line, polygon Private: Call 'setFeatureType' on SimpleSymbolWidget
Sets the state of the widget based on a supplied simple renderer Private: Call 'setFromRenderer' on SimpleSymbolWidget
Sets the state of the widget based on a supplied symbol Private: Call 'setFromSymbol' on SimpleSymbolWidget
Binds a handler to an Observable or to a dojo.connect. Binding to an Observable:
``` this.auto(someObservable, function (newValue) { });
with explicit scope:
this.auto(someObservable, this, function (newValue) { });
Alternately, pass an event name as a string to use dojo.connect:
this.auto(window, "onclick", function () { }); ```
Either an Observable (for observable bindings) or a regular object (if arg1 is a string)
If arg0 is an Observable, a function or scope object. Otherwise, an event name (to use with dojo.connect).
If arg0 is an Observable, a function handler.
Destroys the object completely
Disposes any bindings tracked by this object.
Gets a language resource from the Application's resource dictionary, given a key, and optional locale. Returns null if the resource does not exist.
The locale of the resource to fetch. Defaults to the current application locale.
Initialize the widget based on configuration.
Override or attach to provide custom clean-up behaviour.
Tracks a subscription to an {@link geocortex.framework.commands.Command}, disposing it when this object is disposed with the destroy method.
Tracks a subscription to an {@link geocortex.framework.events.Event}, disposing it when this object is disposed with the destroy method.
View-model for the simple symbology settings widget. Line symbolization options are always needed (of course for polylines, but also for points and polygons as outlines). Marker and fill symbolization options are optional.