Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ApplicationShellMouseTracker

Contribution that tracks mouseup and mousedown events.

This is required to be able to track the TabBar, DockPanel, and SidePanel resizing and drag and drop events correctly all over the application. By default, when the mouse is over an iframe we lose the mouse tracking ability, so whenever we click (mousedown), we overlay a transparent div over the iframe in the Mini Browser, then we set the display of the transparent div to none on mouseup events.

Hierarchy

  • ApplicationShellMouseTracker

Implements

Index

Properties

Protected Readonly applicationShell

applicationShell: ApplicationShell

Protected Readonly mousedownEmitter

mousedownEmitter: Emitter<MouseEvent> = new Emitter<MouseEvent>()

Protected Readonly mouseupEmitter

mouseupEmitter: Emitter<MouseEvent> = new Emitter<MouseEvent>()

Protected Readonly toDispose

toDispose: DisposableCollection = new DisposableCollection()

Protected Readonly toDisposeOnActiveChange

toDisposeOnActiveChange: DisposableCollection = new DisposableCollection()

Accessors

onMousedown

  • get onMousedown(): Event<MouseEvent>

onMouseup

  • get onMouseup(): Event<MouseEvent>

Methods

Protected Readonly mousedownListener

  • mousedownListener(e: MouseEvent): any

Protected Readonly mouseupListener

  • mouseupListener(e: MouseEvent): any

onStart

  • onStart(): void

onStop

  • onStop(): void

Static isSplitPanel

  • isSplitPanel(arg: Widget): arg is SplitPanel