TreeModel Interface

Data structure that describes tree model.

Implemented by

Methods

Name Description
getChildOffset(parentId: undefined | string, childId: string): undefined | number    
getChildren(parentId: undefined | string): undefined | SparseArray<string>    
getNode(id: string): undefined | TreeModelNode    
getNode(parentId: undefined | string, childIndex: number): undefined | TreeModelNode | TreeModelNodePlaceholder    
getNode(nodeId: undefined | string, childIndex?: number): undefined | TreeModelNode | TreeModelNodePlaceholder | TreeModelRootNode    
getRootNode(): TreeModelRootNode    
iterateTreeModelNodes(parentId?: string): IterableIterator<TreeModelNode>    

Defined in

Last Updated: 12 June, 2024