The Information window. Additionally to an ordinary window this also handles tabs (tab is here a tab index).

Hierarchy-Diagram

UML class diagram of InformationWindow
Legend
icon for a class in the UML class diagram class
icon for a public property in the UML class diagram public property
icon for a public method in the UML class diagram public method
icon for a protected method in the UML class diagram protected method

Hierarchy (view full)

Constructors

Properties

func: any = null
id: string = ""
initialised: boolean = false
initialMoved: boolean = false
initialResized: boolean = false
isOpen: boolean = false
localizer: ILocalizer = null
math: IMath = null
messager: IMessager = null
parameters: any = null
parent: any = null
parser: IParser = null
services: ISelectedServices = null
silent: boolean = false
tab: number = 0
tabChanged: boolean = false
versions: Versions = null

Accessors

  • get handlers(): {
        onClose: any;
        onMove: any;
        onOpen: any;
        onResize: any;
    }
  • Builds an object from the events to be provided when the panel is created.

    Returns {
        onClose: any;
        onMove: any;
        onOpen: any;
        onResize: any;
    }

    • onClose: any
    • onMove: any
    • onOpen: any
    • onResize: any
  • get panelFunc(): any
  • Returns the bound panel (one of : panel, window, dialog) function.

    Returns any

  • get styles(): any
  • Queries the styles option of the panel.

    Returns any

  • set styles(styles): void
  • Sets the styles option of the panel.

    Parameters

    • styles: any

    Returns void

Methods

  • This function handles the desktop use case. It initiates a resize for a workaround to problems only taking place in this case. And it centers the panels.

    Returns void

  • Used to localize an option.

    Place this service into this base class to get access everywhere. TODO: use Utility function.

    Parameters

    • option: string
    • id: any = null
    • func: any = null

    Returns string

  • The handler of move events, invoked when the panel is moved.

    This delegates to the Parameters instance.

    Parameters

    • left: number
    • top: number

    Returns void

  • The handler of resize events, invoked when the panel is resized.

    This delegates to the Parameters instance.

    Parameters

    • width: number
    • height: number

    Returns void

  • The toggle method switches the isOpen state, but only if no tab switch took place. In this case the tab is switched.

    Returns Promise<void>

  • The update method handles tab changes. This merely sets a flag indicating the change.

    Parameters

    • Rest...params: any[]

    Returns Promise<void>