Undocumented

Hierarchy (view full)

Constructors

Properties

asJSON: string

Gets the object as serialized JSON string. Or sets serialized JSON (to fill this object's metadata by the metadata included within the JSON)

canceled: boolean

Undocumented

checkboxVisible: boolean

Undocumented

checked: boolean

Undocumented

children: SharedNodeList

Undocumented

collection: SharedObservable

Undocumented

dataSource: any

Undocumented

deleted: boolean

Set to true after deletion so that 'change' event is called and item is removed from UI lists.

dontNotify: boolean

Undocumented

expandCount: number

Undocumented

expanded: boolean

Undocumented

expanding: boolean

Undocumented

globalIndex: number

Undocumented

handlerID: string

Undocumented

hidden: boolean

Undocumented

id: number

Gets integer id of the object

isObservable: boolean

Whether this object can be listened (e.g. for 'change' event)

isStatusBarSource: boolean

Is source for status bar informations.

level: number

Undocumented

loadPromise: Promise<any>

Undocumented

loadUpdateTm: number

Undocumented

modified: boolean

Undocumented

nodePath: string

Undocumented

objectType: string

Gets the object type as string

parent: SharedNode

Undocumented

partlyChecked: boolean

Undocumented

persistentID: string

Undocumented

pos: number

Undocumented

priority: number

Undocumented

statusInfo: Promise<any>

Undocumented

tag: any

Undocumented

title: string

Undocumented

Methods

  • Parameters

    • Rest ...params: any[]

    Returns SharedNode

    Undocumented

  • Parameters

    Returns void

    Undocumented

  • Parameters

    • interval: number

    Returns void

    Undocumented

  • Returns void

    Undocumented

  • Returns void

    Undocumented

  • Parameters

    Returns boolean

    Undocumented

  • Parameters

    Returns Promise<any>

    Undocumented

  • Parameters

    • persistentID: string

    Returns SharedNode

    Undocumented

  • Parameters

    • Rest ...params: any[]

    Returns SharedNode

    Undocumented

  • Gets class name of the object.

    Returns string

  • Returns number

    Undocumented

  • Parameters

    • hide: boolean

    Returns Promise<any>

    Undocumented

  • Parameters

    • id: number

    Returns boolean

    Undocumented

  • Call defined method with locked data so user can access them.

    Parameters

    • func: (() => any)

      Method to call

        • (): any
        • Returns any

    Returns void

  • Call defined method with the item locked for modifications.

    Parameters

    • Rest ...params: any[]

    Returns Promise<any>

  • Notifies that the object was changed (e.g. to force visual update etc.)

    Parameters

    • Rest ...params: any[]

    Returns void

  • Parameters

    • idx: number

    Returns boolean

    Undocumented

  • Parameters

    • id: number
    • value: boolean

    Returns void

    Undocumented

Events

event_change: ((changeType, ...additionalArgs) => void)

Event is called when object is somehow changed

See App.listen

Type declaration

    • (changeType, ...additionalArgs): void
    • Parameters

      • changeType: string

        additional change type (can have values like 'tracklist', 'deleted', 'title' or undefined)

      • Rest ...additionalArgs: any[]

      Returns void

Example

app.listen(object, 'change', (changeType) => {  });
event_destroying: (() => void)

Event is called when object is going to destroy

See App.listen

Type declaration

    • (): void
    • Returns void

event_statuschange: (() => void)

Event is called when status info of the object is changed

See App.listen

Type declaration

    • (): void
    • Returns void