The {@link geocortex.framework.application.Application} that this module belongs to.
The ID of the library that this component originated from.
The {@link geocortex.framework.application.Application} that this module belongs to.
The names of behaviors associated with this module. Keeping these make it so when the module is destroyed we can purge the behaviors from the registry.
The configuration object that this module was initialized with.
Re-applies module state that was previously exported via exportState.
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.
Exports the current state of the module, which can be reapplied later via applyState.
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.
A filter that will be applied to state as it is exported or applied to the module. See {@link geocortex.essentialsHtmlViewer.mapping.infrastructure.ObjectFilter} for information on how to define a filter.
Called when an {@link geocortex.framework.application.Application} succesfully instantiates this module. Override this to provide custom initialization behaviour. When overriding, it is a good idea to call the base implementation using Dojo's "inherited" construct.
Called on module destruction. Used to clear the behavior registry of all behaviors associated with this module.
Called when an {@link geocortex.framework.application.Application} is shutting down.
Custom state object, perhaps indicating a shutdown reason or exception.
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.
Initializes a new instance of the {@link geocortex.framework.application.ModuleBase} class.