import {RenderService} from '@xeokit/xeokit-sdk/src/plugins/TreeViewPlugin/RenderService.js'
RenderService
A TreeViewPlugin render class.
Method Summary
Public Methods | ||
public |
addChildren(element: *, nodes: *) |
|
public |
collapse(element: *, expandHandler: *, collapseHandler: *) |
|
public |
createDisabledNodeElement(rootName: *): * |
|
public |
createNodeElement(node: *, expandHandler: *, checkHandler: *, contextmenuHandler: *, titleClickHandler: *): * |
|
public |
createRootNode(): * |
|
public |
expand(element: *, expandHandler: *, collapseHandler: *) |
|
public |
getId(element: *): * |
|
public |
getIdFromCheckbox(element: *): * |
|
public |
getSwitchElement(nodeId: *): * |
|
public |
isChecked(element: *): * |
|
public |
isExpanded(element: *): * |
|
public |
setCheckbox(nodeId: *, checked: *, indeterminate: boolean) |
|
public |
setHighlighted(nodeId: *, highlighted: *) |
|
public |
setXRayed(nodeId: *, xrayed: *) |
Public Methods
public addChildren(element: *, nodes: *) source
Params:
Name | Type | Attribute | Description |
element | * | ||
nodes | * |
public collapse(element: *, expandHandler: *, collapseHandler: *) source
Params:
Name | Type | Attribute | Description |
element | * | ||
expandHandler | * | ||
collapseHandler | * |
public createDisabledNodeElement(rootName: *): * source
Params:
Name | Type | Attribute | Description |
rootName | * |
Return:
* |
public createNodeElement(node: *, expandHandler: *, checkHandler: *, contextmenuHandler: *, titleClickHandler: *): * source
Params:
Name | Type | Attribute | Description |
node | * | ||
expandHandler | * | ||
checkHandler | * | ||
contextmenuHandler | * | ||
titleClickHandler | * |
Return:
* |
public expand(element: *, expandHandler: *, collapseHandler: *) source
Params:
Name | Type | Attribute | Description |
element | * | ||
expandHandler | * | ||
collapseHandler | * |
public getIdFromCheckbox(element: *): * source
Params:
Name | Type | Attribute | Description |
element | * |
Return:
* |
public getSwitchElement(nodeId: *): * source
Params:
Name | Type | Attribute | Description |
nodeId | * |
Return:
* |
public setCheckbox(nodeId: *, checked: *, indeterminate: boolean) source
Params:
Name | Type | Attribute | Description |
nodeId | * | ||
checked | * | ||
indeterminate | boolean |
|
public setHighlighted(nodeId: *, highlighted: *) source
Params:
Name | Type | Attribute | Description |
nodeId | * | ||
highlighted | * |
public setXRayed(nodeId: *, xrayed: *) source
Params:
Name | Type | Attribute | Description |
nodeId | * | ||
xrayed | * |