Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractTreeComponent Abstract

Hierarchy

  • AbstractTreeComponent

Index

Constructors

Properties

_treeService: CaseTreeService
treeRootAddingChild: EventEmitter<boolean> = ...

true is emitted whenever the tree's root node is adding a new child node.

false is emitted when the root node is no longer adding a new child node.

The first value emitted from this Output is false, when the tree finishes initializing.

No further calls to add a child node should be made, while a child is being added.

treeRootLoading: EventEmitter<boolean> = ...

true is emitted whenever the tree's root node is in it's loading state.

false is emitted when the root node is no longer in the loading state.

The first value emitted from this Output is false, when the tree finishes initializing.

The root node enters it's loading state when it's children are being loaded.

Accessors

  • set eagerLoaded(eager: boolean): void
  • set filter(filter: Filter): void
  • set showTreeRoot(showTreeRoot: boolean): void
  • Whether the tree root should be displayed as a node or not.

    true displays the root as the only node in the first level.

    false displays the root's child nodes in the first level.

    If you want to add more children while the root is hidden use the [addRootChildNode] {@link AbstractTreeComponent#addRootChildNode} method.

    Parameters

    • showTreeRoot: boolean

      whether the root node should be displayed in the tree or not

    Returns void

Methods

  • addRootChildNode(): void

Generated using TypeDoc