Skip to main content
Version: Next

StatsWidgetStore

Hierarchy

Index

Constructors

constructor

Properties

coordinate

coordinate: string

fileId

fileId: number

regionIdMap

regionIdMap: Map<number, number>

type

Accessors

effectiveFrame

  • Returns FrameStore

effectivePolarization

effectiveRegion

  • Returns RegionStore

effectiveRegionId

  • get effectiveRegionId(): number
  • Returns number

effectiveRegionInfo

  • get effectiveRegionInfo(): string
  • Returns string

frameOptions

  • get frameOptions(): OptionProps[]
  • Returns OptionProps[]

isEffectiveFrameEqualToActiveFrame

  • get isEffectiveFrameEqualToActiveFrame(): boolean
  • Returns boolean

matchesSelectedRegion

  • get matchesSelectedRegion(): boolean
  • Returns boolean

Methods

clearFrameEntry

  • clearFrameEntry(fileId: number): void
  • Parameters

    • fileId: number

    Returns void

clearRegionMap

  • clearRegionMap(): void
  • Returns void

setCoordinate

  • setCoordinate(coordinate: string): void
  • Parameters

    • coordinate: string

    Returns void

setFileId

  • setFileId(fileId: number): void
  • Parameters

    • fileId: number

    Returns void

setRegionId

  • setRegionId(fileId: number, regionId: number): void
  • Parameters

    • fileId: number
    • regionId: number

    Returns void

publicstaticCalculateRequirementsArray

  • CalculateRequirementsArray(widgetsMap: Map<string, RegionWidgetStore>): Map<number, number[]>
  • Parameters

    Returns Map<number, number[]>

publicstaticCalculateRequirementsMap

  • CalculateRequirementsMap(widgetsMap: Map<string, StatsWidgetStore>): Map<number, Map<number, SetStatsRequirements>>
  • Parameters

    Returns Map<number, Map<number, SetStatsRequirements>>

publicstaticDiffStatsRequirements

  • DiffStatsRequirements(originalRequirements: Map<number, Map<number, SetStatsRequirements>>, updatedRequirements: Map<number, Map<number, SetStatsRequirements>>): SetStatsRequirements[]
  • Parameters

    • originalRequirements: Map<number, Map<number, SetStatsRequirements>>
    • updatedRequirements: Map<number, Map<number, SetStatsRequirements>>

    Returns SetStatsRequirements[]