AbstractTreeNodeLoaderWithProvider<TDataProvider extends TreeDataProvider> Class
Abstract node loader with tree data provider which loads nodes into provided model source.
Extends
Extended by
Implements
- ITreeNodeLoaderWithProvider<TDataProvider>
Methods
Name | Description | |
---|---|---|
constructor<TDataProvider extends TreeDataProvider>(modelSource: TreeModelSource, dataProvider: TDataProvider): AbstractTreeNodeLoaderWithProvider<TDataProvider> Protected |
Inherited methods
Name | Inherited from | Description |
---|---|---|
load(parent: TreeModelNode | TreeModelRootNode, childIndex: number): Observable<LoadedNodeHierarchy> Protected Abstract | AbstractTreeNodeLoader | An abstract method to load a node at the specific index for the specified parent. |
loadNode(parent: TreeModelNode | TreeModelRootNode, childIndex: number): Observable<TreeNodeLoadResult> | AbstractTreeNodeLoader | Do not override this method. |
updateModel(loadedHierarchy: LoadedNodeHierarchy): void Protected | AbstractTreeNodeLoader | A method that's called when load loads some nodes and we need to put them into model source. |
Properties
Name | Type | Description | |
---|---|---|---|
dataProvider Accessor ReadOnly | TDataProvider | Returns TreeDataProvider used to load nodes. |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
modelSource Accessor ReadOnly | TreeModelSource | AbstractTreeNodeLoader |
Defined in
Last Updated: 20 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.