Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ViewContainerPart

Wrapper around a widget held by a view container. Adds a header to display the title, toolbar, and collapse / expand handle.

Hierarchy

Index

Constructors

Properties

_collapsed: boolean
animatedSize: undefined | number
body: HTMLElement
collapsedEmitter: Emitter<boolean> = ...
contextMenuEmitter: Emitter<MouseEvent> = ...
currentContainerId: string
header: HTMLElement
onDidChangeBadge: Event<void> = ...
onDidChangeBadgeEmitter: Emitter<void> = ...
onDidChangeBadgeTooltip: Event<void> = ...
onDidChangeBadgeTooltipEmitter: Emitter<void> = ...
onDidChangeDescription: Event<void> = ...
onDidChangeDescriptionEmitter: Emitter<void> = ...
onDidChangeVisibility: Event<boolean> = ...
onDidChangeVisibilityEmitter: Emitter<boolean> = ...
onDidDispose: Event<void> = ...
onDidDisposeEmitter: Emitter<void> = ...
onDidFocus: Event<ViewContainerPart> = ...
onDidFocusEmitter: Emitter<ViewContainerPart> = ...
onDidMove: Event<ViewContainer> = ...
onPartMovedEmitter: Emitter<ViewContainer> = ...
onScrollUp: Event<void> = ...
onScrollUpEmitter: Emitter<void> = ...
onScrollYReachEnd: Event<void> = ...
onScrollYReachEndEmitter: Emitter<void> = ...
onTitleChanged: Event<void> = ...
onTitleChangedEmitter: Emitter<void> = ...
originalContainerId: string
originalContainerTitle: undefined | ViewContainerTitleOptions
partId: string
scrollBar?: PerfectScrollbar
scrollOptions?: Options
toDispose: DisposableCollection = ...
toDisposeOnDetach: DisposableCollection = ...
toNoDisposeWrapped: Disposable
toShowHeader: DisposableCollection = ...
toolbar: TabBarToolbar
toolbarFactory: TabBarToolbarFactory
toolbarRegistry: TabBarToolbarRegistry
uncollapsedSize: undefined | number
wrapped: Widget

Accessors

  • get canHide(): boolean
  • get collapsed(): boolean
  • set collapsed(collapsed: boolean): void
  • get currentViewContainerId(): string
  • get headerElement(): HTMLElement
  • get minSize(): number
  • get onCollapsed(): Event<boolean>
  • get onContextMenu(): Event<MouseEvent>
  • get titleHidden(): boolean

Methods

  • addKeyListener<K>(element: HTMLElement, keysOrKeyCodes: KeyCode.Predicate | KeysOrKeyCodes, action: ((event: KeyboardEvent) => boolean | void | Object), ...additionalEventTypes: K[]): void
  • addUpdateListener<K>(element: HTMLElement, type: K, useCapture?: boolean): void
  • clearFlag(flag: Flag): void
  • createContent(): { body: HTMLElement; disposable: Disposable; header: HTMLElement }
  • createHeader(): { disposable: Disposable; header: HTMLElement }
  • disableScrollBarFocus(scrollContainer: HTMLElement): void
  • dispose(): void
  • getScrollContainer(): HTMLElement
  • hideTitle(): void
  • onActivateRequest(msg: Message): void
  • onAfterAttach(msg: Message): void
  • onAfterDetach(msg: Message): void
  • onAfterHide(msg: Message): void
  • onAfterShow(msg: Message): void
  • onBeforeAttach(msg: Message): void
  • onBeforeDetach(msg: Message): void
  • onBeforeHide(msg: Message): void
  • onBeforeShow(msg: Message): void
  • onChildRemoved(msg: ChildMessage): void
  • onCloseRequest(msg: Message): void
  • onResize(msg: ResizeMessage): void
  • onUpdateRequest(msg: Message): void
  • setFlag(flag: Flag): void
  • setHidden(hidden: boolean): void
  • showTitle(): void