Whether or not the currently hoisted menu (if present) has any executable menu items.
Whether or not a menu is available for presentation as a hoisted menu.
The view model for the currently hoisted menu. When there is no hoisted menu present, this should be set to emptyMenuViewModel.
Whether or not the inline menu is open.
An option region name specifying a region to activate menu views in. If specified in configuration, new menu views will be created and activated in this region rather than being dropdowns.
Whether or not this panel is currently maximized
Whether the views that are linked to this are able to be resized on the x axis
Whether the views that are linked to this are able to be resized on the y axis
Whether to display the maximize button on this smart panel. Defaults to false
Optional region where status messages related to this smart panel are to be shown. If specified in configuration, the status messages will be created and activated in this region.
The region type for status messages. Defaults to geocortex.framework.ui.DivRegionAdapter
An empty menu view model to use when no hoisted menu is available.
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.
Disposes of event handlers and child views. This should be called whenever a ViewContainerViewModel is no longer needed so that this object can be garbage collected, and so that child views are destroyed.
Looks up a view descriptor for a given view.
Looks up a view descriptor for a given view.
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.
Handles a view being hosted in the region this container contains.
Handles a view being unhosted from the region this container contains.
Inserts a view descriptor into the collection of descriptors representing active views, maintaining the configured order.
The descriptor for the active view.
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.
Default view model for a SmartPanelView.