Hierarchy

Implements

Index

Constructors

constructor

  • new StiMeter(key?: string, expression?: string, label?: string): StiMeter
  • Parameters

    • Optional key: string
    • Optional expression: string
    • Optional label: string

    Returns StiMeter

Properties

Protected _hash

_hash: StiMeta[]

expression

expression: string = ""

ident

ID code of this meter. Used in JSON saving.

key

key: string

Gets or sets unically object identificator.

label

label: string = ""

Accessors

localizedName

  • get localizedName(): string
  • Localized name of this component type.

    Returns string

Methods

as

  • Type parameters

    • T

    Parameters

    Returns T

clone

  • clone(cloneProperties?: boolean, cloneComponents?: boolean): any
  • Parameters

    • Default value cloneProperties: boolean = true
    • Default value cloneComponents: boolean = true

    Returns any

getUniqueCode

  • getUniqueCode(): number
  • Returns number

implements

  • implements(): any[]
  • Returns any[]

is

  • Type parameters

    • T

    Parameters

    Returns this

is2

  • is2<T>(type: object | Interface<T>): boolean
  • Type parameters

    • T

    Parameters

    Returns boolean

isDefault

  • isDefault(): boolean
  • Returns boolean

loadFromJsonObject

  • loadFromJsonObject(j: StiJson): void

loadFromString

  • loadFromString(str: string): void
  • Parameters

    • str: string

    Returns void

loadFromXml

  • Parameters

    Returns void

meta

saveToJsonObject

saveToString

  • saveToString(): string
  • Returns string

toString

  • toString(): string
  • Returns string

Generated using TypeDoc