Skip to main content

Class: DisplayPanesAliasedUserSettingManager

An aliased map user setting manager which can switch the true settings from which its aliased settings are sourced. The supported sources are:

  • Each set of display pane settings.

Implements

Constructors

constructor

new DisplayPanesAliasedUserSettingManager(bus): DisplayPanesAliasedUserSettingManager

Constructor.

Parameters

NameTypeDescription
busEventBusThe event bus.

Returns

DisplayPanesAliasedUserSettingManager

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/DisplayPanesAliasedUserSettingManager.ts:23

Methods

getAllSettings

getAllSettings(): UserSetting<UserSettingValue>[]

Returns

UserSetting<UserSettingValue>[]

Inherit Doc

Implementation of

UserSettingManager.getAllSettings

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/DisplayPanesAliasedUserSettingManager.ts:84


getSetting

getSetting<K>(name): UserSetting<NonNullable<DisplayPaneSettings[K]>>

Type parameters

NameType
Kextends "displayPaneVisible" | "displayPaneView" | "displayPaneDesignatedView" | "displayPaneDesignatedWeatherView" | "displayPaneController" | "displayPaneHalfSizeOnly" | "displayPaneMapPointerActive"

Parameters

NameType
nameK

Returns

UserSetting<NonNullable<DisplayPaneSettings[K]>>

Inherit Doc

Implementation of

UserSettingManager.getSetting

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/DisplayPanesAliasedUserSettingManager.ts:74


mapTo

mapTo<M>(map): UserSettingManager<M & DisplayPaneSettings>

Type parameters

NameType
Mextends UserSettingRecord

Parameters

NameType
mapUserSettingMap<M, DisplayPaneSettings>

Returns

UserSettingManager<M & DisplayPaneSettings>

Inherit Doc

Implementation of

UserSettingManager.mapTo

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/DisplayPanesAliasedUserSettingManager.ts:89


tryGetSetting

tryGetSetting<K>(name): K extends keyof DisplayPaneSettings ? UserSetting<DisplayPaneSettings[K]> : undefined

Type parameters

NameType
Kextends string

Parameters

NameType
nameK

Returns

K extends keyof DisplayPaneSettings ? UserSetting<DisplayPaneSettings[K]> : undefined

Inherit Doc

Implementation of

UserSettingManager.tryGetSetting

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/DisplayPanesAliasedUserSettingManager.ts:69


useDisplayPaneSettings

useDisplayPaneSettings(index): DisplayPanesAliasedUserSettingManager

Switches the source of this manager's settings to a set of display pane settings.

Parameters

NameTypeDescription
indexDisplayPaneIndexThe index of the display pane.

Returns

DisplayPanesAliasedUserSettingManager

Itself.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/DisplayPanesAliasedUserSettingManager.ts:63


whenSettingChanged

whenSettingChanged<K>(name): Consumer<NonNullable<DisplayPaneSettings[K]>>

Type parameters

NameType
Kextends "displayPaneVisible" | "displayPaneView" | "displayPaneDesignatedView" | "displayPaneDesignatedWeatherView" | "displayPaneController" | "displayPaneHalfSizeOnly" | "displayPaneMapPointerActive"

Parameters

NameType
nameK

Returns

Consumer<NonNullable<DisplayPaneSettings[K]>>

Inherit Doc

Implementation of

UserSettingManager.whenSettingChanged

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/DisplayPanesAliasedUserSettingManager.ts:79