Options
All
  • Public
  • Public/Protected
  • All
Menu

Class QuickTitleBar

Hierarchy

  • QuickTitleBar

Index

Constructors

constructor

Properties

Private _buttons

_buttons: ReadonlyArray<QuickTitleButton>

Private _isAttached

_isAttached: boolean

Private _step

_step: number | undefined

Private _title

_title: string | undefined

Private _totalSteps

_totalSteps: number | undefined

Private attachedNode

attachedNode: HTMLElement | undefined

Private Readonly onDidTriggerButtonEmitter

onDidTriggerButtonEmitter: Emitter<QuickTitleButton>

Private tabIndex

tabIndex: number = 2

Private titleBarContainer

titleBarContainer: HTMLElement

Private titleElement

titleElement: HTMLElement

Accessors

buttons

isAttached

  • get isAttached(): boolean
  • set isAttached(isAttached: boolean): void

onDidTriggerButton

step

  • get step(): number | undefined
  • set step(step: number | undefined): void

title

  • get title(): string | undefined
  • set title(title: string | undefined): void

totalSteps

  • get totalSteps(): number | undefined
  • set totalSteps(totalSteps: number | undefined): void

Methods

attachTitleBar

  • attachTitleBar(widgetNode: HTMLElement, title: string | undefined, step: number | undefined, totalSteps: number | undefined, buttons: ReadonlyArray<QuickTitleButton> | undefined): void

Private createButtonElements

  • createButtonElements(buttons: ReadonlyArray<QuickTitleButton>): HTMLSpanElement[]

Private createLeftButtonDiv

  • createLeftButtonDiv(): HTMLDivElement

Private createRightButtonDiv

  • createRightButtonDiv(): HTMLDivElement

Private createTitleBarDiv

  • createTitleBarDiv(): HTMLDivElement

Private getLeftButtons

Private getRightButtons

hide

  • hide(): void

shouldShowTitleBar

  • shouldShowTitleBar(title: string | undefined, step: number | undefined): boolean

Private updateInnerTitleText

  • updateInnerTitleText(): void