import {TreeViewNode} from '@xeokit/xeokit-sdk/src/plugins/TreeViewPlugin/TreeViewNode.js'
TreeViewNode
A node within a TreeViewPlugin.
These are provided by TreeViewPlugin#withNodeTree and the contextmenu event fired by TreeViewPlugin whenever we right-click on a tree node.
Member Summary
Public Members | ||
public get abstract |
Whether or not the TreeViewNode is currently checked. |
|
public get abstract |
The child TreeViewNodes. |
|
public get abstract |
Globally unique node ID. |
|
public get abstract |
The number of Entitys within the subtree of this TreeViewNode. |
|
public get abstract |
The number of Entitys that are currently visible within the subtree of this TreeViewNode. |
|
public get abstract |
ID of the corresponding MetaObject. |
|
public get abstract |
The parent TreeViewNode. |
|
public get abstract |
Title of the TreeViewNode. |
|
public get abstract |
Type of the corresponding MetaObject. |
|
public get abstract |
Whether or not the TreeViewNode is currently xrayed. |
Public Members
public get abstract numEntities: Number source
The number of Entitys within the subtree of this TreeViewNode.
public get abstract numVisibleEntities: Number source
The number of Entitys that are currently visible within the subtree of this TreeViewNode.
public get abstract objectId: String source
ID of the corresponding MetaObject.
This is only defined if the TreeViewNode represents an object.