Configuration for the symbology settings view-model.
Prevent bindings from firing when configuring the widget
The colors used in the symbology.
Font families available for picking.
The currently selected font family
Font Styles
View model for the user-selected font size widget.
User-selected halo size.
View model has been configured and is ready to go
GVH-14249: As of esri's jsapi 3.20, halo's on text markup cause IE11 to crash. We'll disable them if its IE11.
If this view makes up part of a symbology configuration view the parent can be attached here
Some things which can be configured to be visible or not
The symbol currently configured by this widget
Text of the current symbol. Optional unless editing a symbol with existing text
Text angle configuration
Returns a symbol as a json string, based on the current widget settings Intended to be private. Call the method on TextSymbolWidget instead.
Sets the state of the widget based on a supplied symbol Intended to be private. Call the method on TextSymbolWidget instead.
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.
Returns the widget to the default state (as defined by the configuration object)
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 text symbology settings widget.