Skip to main content
Version: Next

PreferenceStore

The store manages the preference setting

Index

Properties

Accessors

Methods

Properties

preferenceReady

preferenceReady: boolean = false

Whether the preference data is initialized from the preference file or localStorage.

preferences

preferences: Map<PreferenceKeys, any>

Accessors

aipsBeamSupport

  • get aipsBeamSupport(): boolean
  • Returns boolean

animationCompressionQuality

  • get animationCompressionQuality(): number
  • Returns number

annotationColor

  • get annotationColor(): string
  • Returns string

annotationDashLength

  • get annotationDashLength(): number
  • Returns number

annotationLineWidth

  • get annotationLineWidth(): number
  • Returns number

astColor

  • get astColor(): string
  • Returns string

astGridVisible

  • get astGridVisible(): boolean
  • Returns boolean

astLabelsVisible

  • get astLabelsVisible(): boolean
  • Returns boolean

autoLaunch

  • get autoLaunch(): boolean
  • Returns boolean

autoWCSMatching

beamColor

  • get beamColor(): string
  • Returns string

beamType

beamVisible

  • get beamVisible(): boolean
  • Returns boolean

beamWidth

  • get beamWidth(): number
  • Returns number

catalogDisplayedColumnSize

  • get catalogDisplayedColumnSize(): number
  • Returns number

catalogTableSeparatorPosition

  • get catalogTableSeparatorPosition(): string
  • Returns string

checkNewRelease

  • get checkNewRelease(): boolean
  • Returns boolean

codeSnippetsEnabled

  • get codeSnippetsEnabled(): boolean
  • Returns boolean

colorbarInteractive

  • get colorbarInteractive(): boolean
  • Returns boolean

colorbarLabelVisible

  • get colorbarLabelVisible(): boolean
  • Returns boolean

colorbarPosition

  • get colorbarPosition(): string
  • Returns string

colorbarTicksDensity

  • get colorbarTicksDensity(): number
  • Returns number

colorbarVisible

  • get colorbarVisible(): boolean
  • Returns boolean

colorbarWidth

  • get colorbarWidth(): number
  • Returns number

colormap

  • get colormap(): string
  • Returns string

colormapHex

  • get colormapHex(): string
  • Returns string

colormapHexStart

  • get colormapHexStart(): string
  • Returns string

contourChunkSize

  • get contourChunkSize(): number
  • Returns number

contourColor

  • get contourColor(): string
  • Returns string

contourColormap

  • get contourColormap(): string
  • Returns string

contourColormapEnabled

  • get contourColormapEnabled(): boolean
  • Returns boolean

contourCompressionLevel

  • get contourCompressionLevel(): number
  • Returns number

contourControlMapWidth

  • get contourControlMapWidth(): number
  • Returns number

contourDecimation

  • get contourDecimation(): number
  • Returns number

contourGeneratorType

contourNumLevels

  • get contourNumLevels(): number
  • Returns number

contourSmoothingFactor

  • get contourSmoothingFactor(): number
  • Returns number

contourSmoothingMode

  • get contourSmoothingMode(): SmoothingMode
  • Returns SmoothingMode

contourThickness

  • get contourThickness(): number
  • Returns number

cursorInfoVisible

  • get cursorInfoVisible(): string
  • Returns string

cursorPosition

  • get cursorPosition(): string
  • Returns string

dragPanning

  • get dragPanning(): boolean
  • Returns boolean

enabledLoggingEventNames

  • get enabledLoggingEventNames(): string[]
  • Returns string[]

fileFilterMode

fileFilteringType

fileSortingString

  • get fileSortingString(): string
  • Returns string

gpuTileCache

  • get gpuTileCache(): number
  • Returns number

imageCompressionQuality

  • get imageCompressionQuality(): number
  • Returns number

imageMultiPanelEnabled

  • get imageMultiPanelEnabled(): boolean
  • Returns boolean

imagePanelColumns

  • get imagePanelColumns(): number
  • Returns number

imagePanelMode

imagePanelRows

  • get imagePanelRows(): number
  • Returns number

isCursorFrozen

  • get isCursorFrozen(): boolean
  • Returns boolean

isRegionCornerMode

  • get isRegionCornerMode(): boolean
  • Returns boolean

isSelectingAllLogEvents

  • get isSelectingAllLogEvents(): boolean
  • Returns boolean

isSelectingIndeterminateLogEvents

  • get isSelectingIndeterminateLogEvents(): boolean
  • Returns boolean

isZoomRAWMode

  • get isZoomRAWMode(): boolean
  • Returns boolean

keepLastUsedFolder

  • get keepLastUsedFolder(): boolean
  • Returns boolean

lastUsedFolder

  • get lastUsedFolder(): string
  • Returns string

latestRelease

  • get latestRelease(): string
  • Returns string

layout

  • get layout(): string
  • Returns string

limitOverlayRedraw

  • get limitOverlayRedraw(): boolean
  • Returns boolean

lowBandwidthMode

  • get lowBandwidthMode(): boolean
  • Returns boolean

nanAlpha

  • get nanAlpha(): number
  • Returns number

nanColorHex

  • get nanColorHex(): string
  • Returns string

percentile

  • get percentile(): number
  • Returns number

pixelGridColor

  • get pixelGridColor(): string
  • Returns string

pixelGridVisible

  • get pixelGridVisible(): boolean
  • Returns boolean

pointAnnotationShape

  • get pointAnnotationShape(): PointAnnotationShape
  • Returns PointAnnotationShape

pointAnnotationWidth

  • get pointAnnotationWidth(): number
  • Returns number

pvPreivewCubeSizeLimit

  • get pvPreivewCubeSizeLimit(): number
  • Returns number

pvPreivewCubeSizeLimitUnit

  • get pvPreivewCubeSizeLimitUnit(): string
  • Returns string

regionColor

  • get regionColor(): string
  • Returns string

regionCreationMode

  • get regionCreationMode(): string
  • Returns string

regionDashLength

  • get regionDashLength(): number
  • Returns number

regionLineWidth

  • get regionLineWidth(): number
  • Returns number

regionSize

  • get regionSize(): number
  • Returns number

regionType

  • get regionType(): RegionType
  • Returns RegionType

scaling

scalingAlpha

  • get scalingAlpha(): number
  • Returns number

scalingGamma

  • get scalingGamma(): number
  • Returns number

spectralMatchingType

statsPanelEnabled

  • get statsPanelEnabled(): boolean
  • Returns boolean

statsPanelMode

  • get statsPanelMode(): number
  • Returns number

stopAnimationPlaybackMinutes

  • get stopAnimationPlaybackMinutes(): number
  • Returns number

streamContoursWhileZooming

  • get streamContoursWhileZooming(): boolean
  • Returns boolean

systemTileCache

  • get systemTileCache(): number
  • Returns number

telemetryConsentShown

  • get telemetryConsentShown(): boolean
  • Returns boolean

telemetryLogging

  • get telemetryLogging(): boolean
  • Returns boolean

telemetryMode

telemetryUuid

  • get telemetryUuid(): string
  • Returns string

textAnnotationLineWidth

  • get textAnnotationLineWidth(): number
  • Returns number

theme

  • get theme(): string
  • Returns string

transparentImageBackground

  • get transparentImageBackground(): boolean
  • Returns boolean

useSmoothedBiasContrast

  • get useSmoothedBiasContrast(): boolean
  • Returns boolean

vectorOverlayColor

  • get vectorOverlayColor(): string
  • Returns string

vectorOverlayColormap

  • get vectorOverlayColormap(): string
  • Returns string

vectorOverlayColormapEnabled

  • get vectorOverlayColormapEnabled(): boolean
  • Returns boolean

vectorOverlayFractionalIntensity

  • get vectorOverlayFractionalIntensity(): boolean
  • Returns boolean

vectorOverlayPixelAveraging

  • get vectorOverlayPixelAveraging(): number
  • Returns number

vectorOverlayThickness

  • get vectorOverlayThickness(): number
  • Returns number

wcsType

  • get wcsType(): string
  • Returns string

zoomMode

  • get zoomMode(): string
  • Returns string

zoomPoint

  • get zoomPoint(): string
  • Returns string

staticInstance

Methods

clearPreferences

  • clearPreferences(keys: PreferenceKeys[]): Generator<Promise<any>, void, unknown>
  • Clear the preference setting of the selecting key


    Parameters

    Returns Generator<Promise<any>, void, unknown>

fetchPreferences

  • fetchPreferences(): Generator<Promise<any>, void, unknown>
  • Fetch the values of the preference keys


    Returns Generator<Promise<any>, void, unknown>

publicisEventLoggingEnabled

  • isEventLoggingEnabled(eventType: EventType): boolean
  • Parameters

    • eventType: EventType

    Returns boolean

publicisWCSMatchingEnabled

resetAnnotationSettings

  • resetAnnotationSettings(): void
  • Reset the annotation settings


    Returns void

resetCatalogSettings

  • resetCatalogSettings(): void
  • Reset the catalog settings


    Returns void

resetCompatibilitySettings

  • resetCompatibilitySettings(): void
  • Reset the compatibility settings


    Returns void

resetContourConfigSettings

  • resetContourConfigSettings(): void
  • Reset the contour configuration settings


    Returns void

resetGlobalSettings

  • resetGlobalSettings(): void
  • Reset the Global preference settings


    Returns void

resetLogEventSettings

  • resetLogEventSettings(): void
  • Reset the log event setting


    Returns void

resetOverlayConfigSettings

  • resetOverlayConfigSettings(): void
  • Reset the overlay configuration settings


    Returns void

resetPerformanceSettings

  • resetPerformanceSettings(): void
  • Reset the preference settings


    Returns void

resetRegionSettings

  • resetRegionSettings(): void
  • Reset the region settings


    Returns void

resetRenderConfigSettings

  • resetRenderConfigSettings(): void
  • Reset the render configuration settings


    Returns void

resetSilentSettings

  • resetSilentSettings(): void
  • Reset the Silent preference settings


    Returns void

resetTelemetrySettings

  • resetTelemetrySettings(): void
  • Reset the telemetry settings


    Returns void

resetVectorOverlayConfigSettings

  • resetVectorOverlayConfigSettings(): void
  • Reset the vector overlay configuration settings


    Returns void

selectAllLogEvents

  • selectAllLogEvents(): void
  • Reset the all log events


    Returns void

setPreference

  • setPreference(key: PreferenceKeys, value: any): Generator<Promise<any>, any, unknown>