Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TabBarToolbar

Tab-bar toolbar widget representing the active tab-bar toolbar items.

Hierarchy

Index

Constructors

Properties

commands: CommandRegistry
contextMenuRenderer: ContextMenuRenderer
current: undefined | Widget
inline: Map<string, TabBarToolbarItem | ReactTabBarToolbarItem> = ...
labelParser: LabelParser
more: Map<string, TabBarToolbarItem> = ...
onDidChangeVisibility: Event<boolean> = ...
onDidChangeVisibilityEmitter: Emitter<boolean> = ...
onDidDispose: Event<void> = ...
onDidDisposeEmitter: Emitter<void> = ...
onRender: DisposableCollection = ...
onScrollUp: Event<void> = ...
onScrollUpEmitter: Emitter<void> = ...
onScrollYReachEnd: Event<void> = ...
onScrollYReachEndEmitter: Emitter<void> = ...
scrollBar?: PerfectScrollbar
scrollOptions?: Options
toDispose: DisposableCollection = ...
toDisposeOnDetach: DisposableCollection = ...
toDisposeOnSetCurrent: DisposableCollection = ...
toolbarRegistry: TabBarToolbarRegistry

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
  • commandIsEnabled(command: string): boolean
  • commandIsToggled(command: string): boolean
  • disableScrollBarFocus(scrollContainer: HTMLElement): void
  • dispose(): void
  • executeCommand(e: MouseEvent<HTMLElement, MouseEvent>): void
  • getToolbarItemClassNames(commandId: undefined | string): string
  • onAfterAttach(msg: Message): void
  • onAfterDetach(msg: Message): void
  • onBeforeAttach(msg: Message): void
  • onBeforeDetach(msg: Message): void
  • onCloseRequest(msg: Message): void
  • onMouseDownEvent(e: MouseEvent<HTMLElement, MouseEvent>): void
  • onMouseUpEvent(e: MouseEvent<HTMLElement, MouseEvent>): void
  • onUpdateRequest(msg: Message): void
  • render(): ReactNode
  • renderMore(): ReactNode
  • renderMoreContextMenu(anchor: Anchor): any
  • setCurrent(current: undefined | Widget): void
  • setFlag(flag: Flag): void
  • shouldHandleMouseEvent(event: MouseEvent): boolean
  • showMoreContextMenu(event: MouseEvent<Element, MouseEvent>): void
  • updateTarget(current?: Widget): void