Interface CompositeTreeElementNode

The tree node.

interface CompositeTreeElementNode {
    busy?: number;
    checkboxInfo?: TreeViewItemCheckboxInfo;
    children: TreeElementNode[];
    description?: string;
    element: CompositeTreeElement;
    expanded: boolean;
    focus?: boolean;
    icon?: string;
    id: string;
    name?: string;
    nextSibling?: TreeNode;
    parent: TreeElementNodeParent;
    previousSibling?: TreeNode;
    selected: boolean;
    visible?: boolean;
}

Hierarchy (view full)

Properties

busy?: number

Whether this node is busy. Greater than 0 then busy; otherwise not.

Whether this node is checked.

children: TreeElementNode[]

Child nodes of this tree node.

description?: string

A human-readable description of this tree node.

Deprecated

use LabelProvider.getLongName instead or move this property to your tree node type

expanded: boolean

Test whether this tree node is expanded.

focus?: boolean

Deprecated

Since

1.27.0. Use TreeFocusService to track the focused node.

true if the tree node has the focus. Otherwise, false. Defaults to false.

icon?: string

A css string for this tree node icon.

Deprecated

use LabelProvider.getIcon instead or move this property to your tree node type

id: string

An unique id of this node.

name?: string

A human-readable name of this tree node.

Deprecated

use LabelProvider.getName instead or move this property to your tree node type

nextSibling?: TreeNode

A next sibling of this tree node.

A parent node of this tree node. Undefined if this node is root.

previousSibling?: TreeNode

A previous sibling of this tree node.

selected: boolean

true if the tree node is selected. Otherwise, false.

visible?: boolean

Test whether this node should be rendered. If undefined then node will be rendered.