Options
All
  • Public
  • Public/Protected
  • All
Menu

Windows 96 Window System API.

Hierarchy

  • WindowSystem

Index

Properties

startZIndex

startZIndex: Number

Starting Z index for window creation.

windows

windows: StandardWindow[]

Window registry.

Methods

closeAllWindows

  • closeAllWindows(ignoreEvents?: boolean): void
  • Closes all windows.

    Parameters

    • Optional ignoreEvents: boolean

      Whether to ignore window closure events.

    Returns void

createDragHandler

  • Makes a window draggable.

    Parameters

    Returns void

createResizeHandler

  • Makes a window resizable.

    Parameters

    Returns void

deactivateAllWindows

  • deactivateAllWindows(): void
  • Deactivates all windows.

    Returns void

destroyDragHandler

  • Destroys the drag handler of the specified window.

    Parameters

    Returns void

destroyResizeHandler

  • Destroys the resize handler.

    Parameters

    Returns void

disableAppBar

  • disableAppBar(value: boolean): boolean
  • Set whether to disable app bar (taskbar) registration.

    Parameters

    • value: boolean

      Whether to disable the app bar.

    Returns boolean

findWindow

  • Finds a window object with the specified id.

    Parameters

    • id: String

      The id of the window to find.

    Returns StandardWindow

    The window.

getActiveWindow

  • Gets the currently active window.

    Returns StandardWindow

getConfig

  • Returns the WM config.

    Returns WMConfig

getWindowContainer

  • getWindowContainer(): HTMLElement | HTMLDivElement
  • Gets the container which contains all HTML windows.

    Returns HTMLElement | HTMLDivElement

setConfig

  • setConfig(config: WMConfig): Promise<void>
  • Sets the window Manager configuration.

    Parameters

    Returns Promise<void>

setWindowContainer

  • setWindowContainer(element: HTMLDivElement): void
  • Sets the window container to use.

    Parameters

    • element: HTMLDivElement

      The element to use as window container.

    Returns void

Generated using TypeDoc