Skip to main content
Version: 4.1.0

RegionWidgetStore

Hierarchy

  • RegionWidgetStore
    • HistogramWidgetStore
    • PvGeneratorWidgetStore
    • SpatialProfileWidgetStore
    • SpectralProfileWidgetStore
    • StatsWidgetStore
    • StokesAnalysisWidgetStore

Index

Constructors

constructor

  • new RegionWidgetStore(type: RegionsType): RegionWidgetStore
  • Parameters

    • type: RegionsType

    Returns RegionWidgetStore

Properties

fileId

fileId: number

regionIdMap

regionIdMap: Map<number, number>

type

type: RegionsType

Accessors

effectiveFrame

  • get effectiveFrame(): FrameStore
  • Returns FrameStore

effectiveRegion

  • get effectiveRegion(): RegionStore
  • Returns RegionStore

effectiveRegionId

  • get effectiveRegionId(): number
  • Returns number

effectiveRegionInfo

  • get effectiveRegionInfo(): string
  • Returns string

frameOptions

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

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

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

    • widgetsMap: Map<string, RegionWidgetStore>

    Returns Map<number, number[]>