Class KeyWindowManager

The KeyWindowManager provides access to KeyWindow information.

Constructors

Accessors

  • get containersCount(): number
  • Gets the count of active containers for KeyWindows.

    Returns number

  • get layoutProfile(): KeyWindowLayoutProfile
  • Sets the layout profile currently active. Setting a new profile will change the layout of all windows present on the profile.

    Returns KeyWindowLayoutProfile

  • set layoutProfile(value): void
  • Parameters

    Returns void

Methods

  • Forcefully closes all key window and key window containers but one, that only contains the HomeKeyWindow.

    Returns void

  • Get all docked KeyWindows from the given container index.

    Parameters

    • containerIndex: number

      The index of the container to fetch all docked KeyWindows.

    Returns KeyWindowBase[]

  • Gets all active KeyWindow instances that match the type.

    Type Parameters

    Parameters

    Returns T[]

    Array of KeyWindow instances that match the type.

  • Updates the toggle state of all main toolbar buttons in the toolbar for all current active key windows.

    Returns void

Events

onCloudSyncButtonClicked: Event<[UIButton], void>

Gets called when the given cloud sync button gets clicked by the user.

onDiscussionButtonClicked: Event<[UIButton], void>

Gets called when the given discussion button gets clicked by the user.

onNotificationButtonClicked: Event<[UIButton], void>

Gets called when the given notification button gets clicked by the user.

didOpenKeyWindow: Event<[KeyWindowBase], void>

Gets called when a KeyWindow has been opened.

willCloseKeyWindow: Event<[KeyWindowBase], void>

Gets called when a KeyWindow is about to be closed.