Class representing the design tree window in the BIM application. Extends the BimCTVirtualScrollWindow class.

Hierarchy

Constructors

Accessors

  • get active(): boolean
  • Returns boolean

  • set active(active: boolean): void
  • Parameters

    • active: boolean

    Returns void

  • get footerText(): string
  • Returns string

  • set footerText(footerText: string): void
  • Parameters

    • footerText: string

    Returns void

  • get index(): number
  • Returns number

  • set index(index: number): void
  • Parameters

    • index: number

    Returns void

  • get leafRowHeight(): number
  • Returns number

  • get renderer(): BaseRenderer
  • Gets the renderer associated with the window.

    Returns

    The renderer.

    Returns BaseRenderer

  • get resetWindowStyle(): string
  • Returns string

  • set resetWindowStyle(val: string): void
  • Parameters

    • val: string

    Returns void

  • get title(): string
  • Returns string

  • set title(title: string): void
  • Parameters

    • title: string

    Returns void

  • get windowElement(): HTMLElement
  • Returns HTMLElement

  • get windowResizedEvent(): IEvent<number, number>
  • Returns IEvent<number, number>

  • get zIndex(): number
  • Returns number

  • set zIndex(zIndex: number): void
  • Parameters

    • zIndex: number

    Returns void

Methods

  • Activates or deactivates the window.

    Parameters

    • activate: boolean

      Whether to activate the window.

    • Optional refresh: boolean = true

      Whether to refresh the UI.

    Returns void

  • Gets the selected element nodes.

    Returns

    • The selected element nodes.

    Parameters

    • includeModelNode: boolean = true

      Whether to include model nodes in the selection.

    Returns BimCTExpandableLevelVirtualRow[]

  • Gets the element IDs of the selected items.

    Returns

    • The element IDs of the selected items.

    Returns Int64[]

  • Gets the internal IDs of the selected items.

    Returns

    • The internal IDs of the selected items.

    Returns Int64[]

  • Hides the design tree window.

    Returns

    • True if the window was hidden, false otherwise.

    Returns boolean

  • Hides the expand-to-level menu.

    Returns void

  • Checks if the window is currently showing.

    Returns

    True if the window is showing, otherwise false.

    Returns boolean

  • Checks if a row is showing in the viewport.

    Returns

    True if the row is showing, false otherwise.

    Parameters

    • row: BimCTVirtualRow

      The row to check.

    • offset: number

      The offset to apply.

    Returns boolean

  • Moves the window horizontally by a specified number of pixels. Only if already moved one time

    Parameters

    • pixels: number

      The number of pixels to move the window.

    Returns void

  • Resets the window to its default style.

    Parameters

    • force: boolean

      Whether to force the reset.

    Returns void

  • Gets the scrollable body element.

    Returns

    • The scrollable body element.

    Returns HTMLDivElement

  • Scrolls to the specified row.

    Parameters

    • row: BimCTVirtualRow

      The row to scroll to.

    • forceScroll: boolean = false

      Whether to force the scroll.

    Returns void

  • Scrolls to the specified row index.

    Parameters

    • rowIndex: number

      The row index to scroll to.

    • forceScroll: boolean = false

      Whether to force the scroll.

    Returns void

  • Sets the loading state of the window.

    Parameters

    • on: boolean

      Whether to show the loading state.

    Returns void

  • Shows the design tree window.

    Returns

    • True if the window was shown, false otherwise.

    Returns boolean

  • Shows the design tree window with an option to expand to level 2.

    Returns

    • True if the window was shown, false otherwise.

    Parameters

    • expandToLevel2: boolean

      Whether to expand to level 2.

    Returns boolean

  • Zooms to the selected items in the tree.

    Returns

    • True if zoom was successful, false otherwise.

    Returns Promise<boolean>