Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected _activeViews

_activeViews: any

Protected _backButtonOnRootView

_backButtonOnRootView: boolean

Protected _fullTitleFormatString

_fullTitleFormatString: string

Protected _insertedViews

_insertedViews: any

Protected _isDestroyed

_isDestroyed: boolean

Protected _ordering

_ordering: object

Type declaration

  • [viewId: string]: number

Protected _originalHeaderIsVisibleSetting

_originalHeaderIsVisibleSetting: boolean

Protected _showBackButton

_showBackButton: boolean

Protected _showBackButtonAsX

_showBackButtonAsX: boolean

Protected _showHeaderForStandaloneViews

_showHeaderForStandaloneViews: boolean

Protected _viewDescriptorConstructor

_viewDescriptorConstructor: string

activeViewDescriptors

activeViewDescriptors: ObservableCollection<ViewDescriptor>

app

backTitle

backTitle: Observable<string>

closeOnEscape

closeOnEscape: boolean

closeTitle

closeTitle: Observable<string>

containerManagedTitle

containerManagedTitle: Observable<string>

containerTitle

containerTitle: Observable<string>

currentView

currentView: ViewBase

defaultViewIconUri

defaultViewIconUri: string

footerInsertDomElement

footerInsertDomElement: Observable<HTMLElement>

fullTitle

fullTitle: Observable<string>

hasCustomFooterComponent

hasCustomFooterComponent: Observable<boolean>

hasCustomHeaderComponent

hasCustomHeaderComponent: Observable<boolean>

headerInsertDomElement

headerInsertDomElement: Observable<HTMLElement>

headerIsVisible

headerIsVisible: Observable<boolean>

id

id: string

libraryId

libraryId: string

managedViewsOnly

managedViewsOnly: boolean

regionName

regionName: Observable<string>

regionType

regionType: Observable<string>

showBusyIndicator

showBusyIndicator: Observable<boolean>

showHostedViews

showHostedViews: Observable<boolean>

showingBackButton

showingBackButton: Observable<boolean>

showingXButton

showingXButton: Observable<boolean>

titleBarIsVisible

titleBarIsVisible: Observable<boolean>

viewDescriptors

viewTitle

viewTitle: Observable<string>

Methods

Protected _addOrderedView

  • Parameters

    Returns void

activateViewInContainer

  • activateViewInContainer(view: ViewBase): void
  • Parameters

    Returns void

auto

  • auto(arg0: any, arg1: any, arg2: any): void
  • 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 () { }); ```

    Parameters

    • arg0: any

      Either an Observable (for observable bindings) or a regular object (if arg1 is a string)

    • arg1: any

      If arg0 is an Observable, a function or scope object. Otherwise, an event name (to use with dojo.connect).

    • arg2: any

      If arg0 is an Observable, a function handler.

    Returns void

closeCurrentView

  • closeCurrentView(): void
  • Returns void

createDescriptorForView

deactivateCurrentView

  • deactivateCurrentView(): void
  • Returns void

deactivateViewInContainer

  • deactivateViewInContainer(view: ViewBase): void
  • Parameters

    Returns void

deactivateViews

  • deactivateViews(): void
  • Returns void

destroy

  • destroy(): void
  • Destroys the object completely

    Returns void

destroyBindings

  • destroyBindings(): void

dispose

  • dispose(): void
  • 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.

    Returns void

getDescriptorForActiveView

  • Looks up a view descriptor for a given view.

    Parameters

    Returns ViewDescriptor

getDescriptorForView

  • Looks up a view descriptor for a given view.

    Parameters

    Returns ViewDescriptor

getResource

  • getResource(resourceKey: string, locale?: string): string
  • Gets a language resource from the Application's resource dictionary, given a key, and optional locale. Returns null if the resource does not exist.

    Parameters

    • resourceKey: string
    • Optional locale: string

      The locale of the resource to fetch. Defaults to the current application locale.

    Returns string

getViewPriority

  • getViewPriority(id: string): number
  • Parameters

    • id: string

    Returns number

getZerothViewId

  • getZerothViewId(): string
  • Returns string

handleViewActivatedEvent

  • handleViewActivatedEvent(view: ViewBase): void
  • Parameters

    Returns void

handleViewDeactivatedEvent

  • handleViewDeactivatedEvent(view: ViewBase): void
  • Parameters

    Returns void

handleViewHosted

  • Handles a view being hosted in the region this container contains.

    Parameters

    Returns void

handleViewUnhosted

  • Handles a view being unhosted from the region this container contains.

    Parameters

    Returns void

initialize

  • initialize(config: any): void

insertActiveViewDescriptor

  • Inserts a view descriptor into the collection of descriptors representing active views, maintaining the configured order.

    Parameters

    Returns void

onDestroy

  • onDestroy(): void
  • Override or attach to provide custom clean-up behaviour.

    Returns void

showOrHideCloseButtons

  • showOrHideCloseButtons(): void
  • Returns void

trackCommandHandler

  • trackCommandHandler(command: any, token: any): void
  • Tracks a subscription to an {@link geocortex.framework.commands.Command}, disposing it when this object is disposed with the destroy method.

    Parameters

    • command: any
    • token: any

    Returns void

trackSubscription

  • trackSubscription(event: any, token: any): void
  • Tracks a subscription to an {@link geocortex.framework.events.Event}, disposing it when this object is disposed with the destroy method.

    Parameters

    • event: any
    • token: any

    Returns void