TreeModel Interface

Data structure that describes tree model.

Implemented by

Methods

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

Defined in

Last Updated: 20 November, 2024