Hierarchy

Implements

Index

Constructors

constructor

Properties

childrenIds

childrenIds: string[]

id

id: string

name

name: string

parentId

parentId: string

resourceId

resourceId: string

sceneId

sceneId: string

sceneNodeType

sceneNodeType: TSceneNodeType

Protected scenesService

scenesService: ScenesService

Protected selectionService

selectionService: SelectionService

Accessors

Protected state

Methods

Protected SET_PARENT

  • SET_PARENT(parentId?: string): void

add

  • add(sceneNodeId: string): void

addToSelection

  • addToSelection(): void

deselect

  • deselect(): void

detachParent

  • detachParent(): void

getFolders

getHierarchy

getItemIndex

  • getItemIndex(): number
  • itemIndex for SceneFolder is itemIndex of previous SceneItem

    nodeInd | itemInd | nodes tree 0 | 0 | Folder1 1 | 0 | |Folder2 2 | 0 | | Item1 3 | 1 | _ Item2 4 | 2 | Item3 5 | 2 | Folder3 6 | 3 | |_Item4 7 | 4 | _Item5

    Returns number

getItems

getModel

getNestedFolders

getNestedFoldersIds

  • getNestedFoldersIds(): string[]

getNestedItems

getNestedItemsIds

  • getNestedItemsIds(): string[]

getNestedNodes

getNestedNodesIds

  • getNestedNodesIds(): string[]

getNextItem

getNextNode

getNextSiblingNode

getNodeIndex

  • getNodeIndex(): number

getNodes

getParent

getPath

  • getPath(): string[]

getPrevItem

getPrevNode

getPrevSiblingNode

getResourceId

  • getResourceId(): string

getScene

getSelection

hasParent

  • hasParent(): boolean

isFolder

  • isFolder(): boolean

isItem

  • isItem(): boolean

isSelected

  • isSelected(): boolean

placeAfter

  • placeAfter(nodeId: string): void

placeBefore

  • placeBefore(nodeId: string): void

recalculateChildrenOrder

  • recalculateChildrenOrder(): void

remove

  • remove(): void

select

  • select(): void

setName

  • setName(name: string): void

setParent

  • setParent(parentId: string): void

ungroup

  • ungroup(): void