represents selection of active scene and provide shortcuts

Hierarchy

Implements

Index

Constructors

constructor

Properties

add

add: function

Type declaration

canGroupIntoFolder

canGroupIntoFolder: function

Type declaration

    • (): boolean
    • Returns boolean

centerOnScreen

centerOnScreen: function

Type declaration

    • (): void
    • Returns void

clone

clone: function

Type declaration

copyReferenceTo

copyReferenceTo: function

Type declaration

    • (sceneId: string, folderId?: string): TSceneNode[]
    • Parameters

      • sceneId: string
      • Optional folderId: string

      Returns TSceneNode[]

copyTo

copyTo: function

Type declaration

deselect

deselect: function

Type declaration

fitToScreen

fitToScreen: function

Type declaration

    • (): void
    • Returns void

flipX

flipX: function

Type declaration

    • (): void
    • Returns void

flipY

flipY: function

Type declaration

    • (): void
    • Returns void

getBoundingRect

getBoundingRect: function

Type declaration

    • (): IRectangle
    • Returns IRectangle

getClosestParent

getClosestParent: function

Type declaration

getFolders

getFolders: function

Type declaration

getIds

getIds: function

Type declaration

    • (): string[]
    • Returns string[]

getInverted

getInverted: function

Type declaration

getInvertedIds

getInvertedIds: function

Type declaration

    • (): string[]
    • Returns string[]

getItems

getItems: function

Type declaration

getLastSelected

getLastSelected: function

Type declaration

getLastSelectedId

getLastSelectedId: function

Type declaration

    • (): string
    • Returns string

getNodes

getNodes: function

Type declaration

getSize

getSize: function

Type declaration

    • (): number
    • Returns number

getVisualItems

getVisualItems: function

Type declaration

invert

invert: function

Type declaration

isSceneFolder

isSceneFolder: function

Type declaration

    • (): boolean
    • Returns boolean

isSceneItem

isSceneItem: function

Type declaration

    • (): boolean
    • Returns boolean

isSelected

isSelected: function

Type declaration

moveTo

moveTo: function

Type declaration

    • (sceneId: string, folderId?: string): TSceneNode[]
    • Parameters

      • sceneId: string
      • Optional folderId: string

      Returns TSceneNode[]

reset

reset: function

Type declaration

resetTransform

resetTransform: function

Type declaration

    • (): void
    • Returns void

rotate

rotate: function

Type declaration

    • (deg: number): void
    • Parameters

      • deg: number

      Returns void

selectAll

selectAll: function

Type declaration

serviceName

serviceName: string = this.constructor.name

setContentCrop

setContentCrop: function

Type declaration

    • (): void
    • Returns void

setSettings

setSettings: function

Type declaration

setTransform

setTransform: function

Type declaration

setVisibility

setVisibility: function

Type declaration

    • (isVisible: boolean): void
    • Parameters

      • isVisible: boolean

      Returns void

stretchToScreen

stretchToScreen: function

Type declaration

    • (): void
    • Returns void

updated

updated: Subject<ISelectionState> = new Subject<ISelectionState>()

Static hasInstance

hasInstance: boolean = false

Static isSingleton

isSingleton: boolean = true

Static serviceAfterInit

serviceAfterInit: Subject<Service> = new Subject<Service>()

lifecycle hook

Accessors

state

store

  • get store(): Store<any>

Static instance

  • get instance(): any

Methods

Protected afterInit

  • afterInit(): void
  • calls only once per application life all observers are ready to listen service's events

    Returns void

init

  • init(): void

Protected mounted

  • mounted(): void

nudgeActiveItemRight

  • nudgeActiveItemRight(): any

nudgeActiveItemsDown

  • nudgeActiveItemsDown(): any

nudgeActiveItemsLeft

  • nudgeActiveItemsLeft(): any

nudgeActiveItemsUp

  • nudgeActiveItemsUp(): any

remove

  • remove(): any

select

Static createInstance

  • createInstance(ServiceClass: any): any

Static getResourceId

  • getResourceId(resource: any): string

Static getStore

  • getStore(): Store<any>

Static setupInitFunction

  • setupInitFunction(fn: function): void

Static setupProxy

  • setupProxy(fn: function): void

Static setupVuexStore

  • setupVuexStore(store: Store<any>): void

Object literals

Static initialState

initialState: object

lastSelectedId

lastSelectedId: string = ""

selectedIds

selectedIds: undefined[] = []