Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

Index

Constructors

  • parent is the structure that the value of this property attaches to, so e.g. for all values item of Part(List)Property we (should) have the invariant: item.container === this.parent.

    initialValue is default value except parts and GUID-typed primitives. (by-id/name references do not have default values.)

    Type parameters

    • T

    Parameters

    Returns PrimitiveProperty<T>

Properties

_skipOnChange: boolean = false
internal
declaredOn: IStructureClass
defaultValue: T
disposer: undefined | (() => void)
isAvailable: boolean = false
isPublic: boolean = false
isRequired: boolean = false
name: string
observableValue: IObservableValue<T>

Accessors

  • get versionInfo(): PropertyVersionInfo
  • Returns PropertyVersionInfo

Methods

  • _toJSON(): any
  • assertReadable(): void
  • assertWritable(): void
  • dispose(): void
  • get(): T
  • getRawValue(value: T): any
  • Parameters

    • value: T

    Returns any

  • initialize(defaultValue: T, primitiveType: PrimitiveTypeEnum): { disposer: Lambda; observableValue: IObservableValue<T> }
  • internal

    Parameters

    • defaultValue: T
    • primitiveType: PrimitiveTypeEnum

    Returns { disposer: Lambda; observableValue: IObservableValue<T> }

    • disposer: Lambda
    • observableValue: IObservableValue<T>
  • markCurrentValueAsDefault(): void
  • Returns void

  • onChange(change: IValueDidChange<T>): void
  • internal

    Parameters

    • change: IValueDidChange<T>

    Returns void

  • reportAvailabilityIssues(): void
  • set(newValue: T): void
  • Parameters

    • newValue: T

    Returns void

  • shouldHandleChange(): boolean
  • updateWithRawValue(value: T): void

Generated using TypeDoc