src/ui/tree-view/smart-tree-view.service.ts
Methods |
constructor(http: SmartHttpService, serviceAdapter: SmartServiceAdapter, intlService: IntlService)
|
||||||||||||
Parameters :
|
convertToSmartNode | |||||||||
convertToSmartNode(node: SmartTreeNode, isRoot?: boolean)
|
|||||||||
Parameters :
Returns :
SmartNode | []
(PrimeNode | PrimeNode[]) |
expandNode | ||||||
expandNode(node: SmartTreeNode)
|
||||||
Parameters :
Returns :
Promise<void>
Promise |
expandPrimeNode | ||||||
expandPrimeNode(node: SmartNode)
|
||||||
Parameters :
Returns :
Promise<void>
Promise |
getChildNodeAsSmartNode | ||||||
getChildNodeAsSmartNode(parentNode: SmartTreeNode)
|
||||||
Parameters :
Returns :
Observable<SmartNode[]>
Observable<PrimeNode[]> |
getChildNodes | ||||||
getChildNodes(parentNode: SmartTreeNode)
|
||||||
Parameters :
Returns :
Observable<SmartTreeNode[]>
Observable<SmartTreeNode[]> |
getRootNode | ||||||
getRootNode(nodeType: string)
|
||||||
Parameters :
Returns :
Observable<SmartTreeNode>
Observable |
getRootNodeAsSmartNode | ||||||
getRootNodeAsSmartNode(nodeType: string)
|
||||||
Parameters :
Returns :
Observable<SmartNode[]>
Observable<PrimeNode[]> |