File

src/ui/tree-view/smart-tree-view.service.ts

Index

Methods

Constructor

constructor(http: SmartHttpService, serviceAdapter: SmartServiceAdapter, intlService: IntlService)
Parameters :
Name Type Optional
http SmartHttpService No
serviceAdapter SmartServiceAdapter No
intlService IntlService No

Methods

convertToSmartNode
convertToSmartNode(node: SmartTreeNode, isRoot?: boolean)
Parameters :
Name Type Optional
node SmartTreeNode No
isRoot boolean Yes
Returns : SmartNode | []

(PrimeNode | PrimeNode[])

expandNode
expandNode(node: SmartTreeNode)
Parameters :
Name Type Optional
node SmartTreeNode No
Returns : Promise<void>

Promise

expandPrimeNode
expandPrimeNode(node: SmartNode)
Parameters :
Name Type Optional
node SmartNode No
Returns : Promise<void>

Promise

getChildNodeAsSmartNode
getChildNodeAsSmartNode(parentNode: SmartTreeNode)
Parameters :
Name Type Optional
parentNode SmartTreeNode No

Observable<PrimeNode[]>

getChildNodes
getChildNodes(parentNode: SmartTreeNode)
Parameters :
Name Type Optional
parentNode SmartTreeNode No

Observable<SmartTreeNode[]>

getRootNode
getRootNode(nodeType: string)
Parameters :
Name Type Optional
nodeType string No

Observable

getRootNodeAsSmartNode
getRootNodeAsSmartNode(nodeType: string)
Parameters :
Name Type Optional
nodeType string No

Observable<PrimeNode[]>

result-matching ""

    No results matching ""