Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAbstractElement

Abstract elements are structures that are referable by name. Sub types: (I)Element and (I)ModelUnit.

Hierarchy

Implemented by

Index

Properties

container

container: IContainer | null

id

id: string

isLoaded

isLoaded: boolean

model

structureTypeName

structureTypeName: string

unit

Unit that owns/contains this thing.

Methods

allProperties

asLoaded

load

  • load(callback: function, forceRefresh?: boolean): void
  • load(forceRefresh?: boolean): Promise
  • Parameters

    Returns void

  • Parameters

    • Optional forceRefresh: boolean

    Returns Promise

loadedProperties

publicProperties

toJSON

  • Renders the structure as plain JSON (without observables magic). This is intended for debugging and development convenience. Note that the resulting object is not of the interface type corresponding to this structure.

    Returns object

traverse

  • traverse(visit: function): void
  • Traverses this structure by calling the provided visitor function on itself and all the structures contained (as part) by it, in depth-first order, and it returns synchronously after that.

    Parameters

    Returns void

traverseFind

  • traverseFind<T>(visit: function): T | null
  • Traverses this structure, returning immediately when visit returns something other than null.

    Type parameters

    • T

    Parameters

    Returns T | null

traversePublicParts

  • traversePublicParts(visit: function): void

Generated using TypeDoc