Class: SavedFrequenciesUserSettingsManager
A user setting manager for saved frequencies.
Implements
UserSettingManager
<SavedFrequencyAllUserSettingTypes
>
Constructors
constructor
• new SavedFrequenciesUserSettingsManager(bus
): SavedFrequenciesUserSettingsManager
Creates a new instance of SavedFrequenciesUserSettingsManager.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
Returns
SavedFrequenciesUserSettingsManager
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Settings/SavedFrequenciesUserSettings.ts:45
Methods
getAllSettings
▸ getAllSettings(): UserSetting
<UserSettingValue
>[]
Returns
UserSetting
<UserSettingValue
>[]
Inherit Doc
Implementation of
UserSettingManager.getAllSettings
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Settings/SavedFrequenciesUserSettings.ts:71
getManager
▸ getManager(): DefaultUserSettingManager
<SavedFrequencyAllUserSettingTypes
>
Gets a manager for Saved Frequency user settings.
Returns
DefaultUserSettingManager
<SavedFrequencyAllUserSettingTypes
>
A manager for Saved Frequency user settings.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Settings/SavedFrequenciesUserSettings.ts:84
getSetting
▸ getSetting<K
>(name
): UserSetting
<NonNullable
<SavedFrequencyAllUserSettingTypes
[K
]>>
Type parameters
Name | Type |
---|---|
K | extends "frequencyComRecent_2_g3x" | "frequencyComRecent_4_g3x" | "frequencyComRecent_16_g3x" | "frequencyComRecent_1_g3x" | "frequencyComRecent_3_g3x" | "frequencyComRecent_5_g3x" | "frequencyComRecent_6_g3x" | "frequencyComRecent_7_g3x" | "frequencyComRecent_8_g3x" | "frequencyComRecent_9_g3x" | "frequencyComRecent_10_g3x" | "frequencyComRecent_11_g3x" | "frequencyComRecent_12_g3x" | "frequencyComRecent_13_g3x" | "frequencyComRecent_14_g3x" | "frequencyComRecent_15_g3x" | "frequencyComUser_2_g3x" | "frequencyComUser_4_g3x" | "frequencyComUser_16_g3x" | "frequencyComUser_1_g3x" | "frequencyComUser_3_g3x" | "frequencyComUser_5_g3x" | "frequencyComUser_6_g3x" | "frequencyComUser_7_g3x" | "frequencyComUser_8_g3x" | "frequencyComUser_9_g3x" | "frequencyComUser_10_g3x" | "frequencyComUser_11_g3x" | "frequencyComUser_12_g3x" | "frequencyComUser_13_g3x" | "frequencyComUser_14_g3x" | "frequencyComUser_15_g3x" | "frequencyNavRecent_2_g3x" | "frequencyNavRecent_4_g3x" | "frequencyNavRecent_16_g3x" | "frequencyNavRecent_1_g3x" | "frequencyNavRecent_3_g3x" | "frequencyNavRecent_5_g3x" | "frequencyNavRecent_6_g3x" | "frequencyNavRecent_7_g3x" | "frequencyNavRecent_8_g3x" | "frequencyNavRecent_9_g3x" | "frequencyNavRecent_10_g3x" | "frequencyNavRecent_11_g3x" | "frequencyNavRecent_12_g3x" | "frequencyNavRecent_13_g3x" | "frequencyNavRecent_14_g3x" | "frequencyNavRecent_15_g3x" | "frequencyNavUser_2_g3x" | "frequencyNavUser_4_g3x" | "frequencyNavUser_16_g3x" | "frequencyNavUser_1_g3x" | "frequencyNavUser_3_g3x" | "frequencyNavUser_5_g3x" | "frequencyNavUser_6_g3x" | "frequencyNavUser_7_g3x" | "frequencyNavUser_8_g3x" | "frequencyNavUser_9_g3x" | "frequencyNavUser_10_g3x" | "frequencyNavUser_11_g3x" | "frequencyNavUser_12_g3x" | "frequencyNavUser_13_g3x" | "frequencyNavUser_14_g3x" | "frequencyNavUser_15_g3x" |
Parameters
Name | Type |
---|---|
name | K |
Returns
UserSetting
<NonNullable
<SavedFrequencyAllUserSettingTypes
[K
]>>
Inherit Doc
Implementation of
UserSettingManager.getSetting
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Settings/SavedFrequenciesUserSettings.ts:61
mapTo
▸ mapTo<M
>(map
): UserSettingManager
<M
& SavedFrequencyAllUserSettingTypes
>
Type parameters
Name | Type |
---|---|
M | extends UserSettingRecord |
Parameters
Name | Type |
---|---|
map | UserSettingMap <M , SavedFrequencyAllUserSettingTypes > |
Returns
UserSettingManager
<M
& SavedFrequencyAllUserSettingTypes
>
Inherit Doc
Implementation of
UserSettingManager.mapTo
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Settings/SavedFrequenciesUserSettings.ts:76
tryGetSetting
▸ tryGetSetting<K
>(name
): K
extends "frequencyComRecent_2_g3x"
| "frequencyComRecent_4_g3x"
| "frequencyComRecent_16_g3x"
| "frequencyComRecent_1_g3x"
| "frequencyComRecent_3_g3x"
| "frequencyComRecent_5_g3x"
| "frequencyComRecent_6_g3x"
| "frequencyComRecent_7_g3x"
| "frequencyComRecent_8_g3x"
| "frequencyComRecent_9_g3x"
| "frequencyComRecent_10_g3x"
| "frequencyComRecent_11_g3x"
| "frequencyComRecent_12_g3x"
| "frequencyComRecent_13_g3x"
| "frequencyComRecent_14_g3x"
| "frequencyComRecent_15_g3x"
| "frequencyComUser_2_g3x"
| "frequencyComUser_4_g3x"
| "frequencyComUser_16_g3x"
| "frequencyComUser_1_g3x"
| "frequencyComUser_3_g3x"
| "frequencyComUser_5_g3x"
| "frequencyComUser_6_g3x"
| "frequencyComUser_7_g3x"
| "frequencyComUser_8_g3x"
| "frequencyComUser_9_g3x"
| "frequencyComUser_10_g3x"
| "frequencyComUser_11_g3x"
| "frequencyComUser_12_g3x"
| "frequencyComUser_13_g3x"
| "frequencyComUser_14_g3x"
| "frequencyComUser_15_g3x"
| "frequencyNavRecent_2_g3x"
| "frequencyNavRecent_4_g3x"
| "frequencyNavRecent_16_g3x"
| "frequencyNavRecent_1_g3x"
| "frequencyNavRecent_3_g3x"
| "frequencyNavRecent_5_g3x"
| "frequencyNavRecent_6_g3x"
| "frequencyNavRecent_7_g3x"
| "frequencyNavRecent_8_g3x"
| "frequencyNavRecent_9_g3x"
| "frequencyNavRecent_10_g3x"
| "frequencyNavRecent_11_g3x"
| "frequencyNavRecent_12_g3x"
| "frequencyNavRecent_13_g3x"
| "frequencyNavRecent_14_g3x"
| "frequencyNavRecent_15_g3x"
| "frequencyNavUser_2_g3x"
| "frequencyNavUser_4_g3x"
| "frequencyNavUser_16_g3x"
| "frequencyNavUser_1_g3x"
| "frequencyNavUser_3_g3x"
| "frequencyNavUser_5_g3x"
| "frequencyNavUser_6_g3x"
| "frequencyNavUser_7_g3x"
| "frequencyNavUser_8_g3x"
| "frequencyNavUser_9_g3x"
| "frequencyNavUser_10_g3x"
| "frequencyNavUser_11_g3x"
| "frequencyNavUser_12_g3x"
| "frequencyNavUser_13_g3x"
| "frequencyNavUser_14_g3x"
| "frequencyNavUser_15_g3x"
? UserSetting
<SavedFrequencyAllUserSettingTypes
[K
]> : undefined
Type parameters
Name | Type |
---|---|
K | extends string |
Parameters
Name | Type |
---|---|
name | K |
Returns
K
extends "frequencyComRecent_2_g3x"
| "frequencyComRecent_4_g3x"
| "frequencyComRecent_16_g3x"
| "frequencyComRecent_1_g3x"
| "frequencyComRecent_3_g3x"
| "frequencyComRecent_5_g3x"
| "frequencyComRecent_6_g3x"
| "frequencyComRecent_7_g3x"
| "frequencyComRecent_8_g3x"
| "frequencyComRecent_9_g3x"
| "frequencyComRecent_10_g3x"
| "frequencyComRecent_11_g3x"
| "frequencyComRecent_12_g3x"
| "frequencyComRecent_13_g3x"
| "frequencyComRecent_14_g3x"
| "frequencyComRecent_15_g3x"
| "frequencyComUser_2_g3x"
| "frequencyComUser_4_g3x"
| "frequencyComUser_16_g3x"
| "frequencyComUser_1_g3x"
| "frequencyComUser_3_g3x"
| "frequencyComUser_5_g3x"
| "frequencyComUser_6_g3x"
| "frequencyComUser_7_g3x"
| "frequencyComUser_8_g3x"
| "frequencyComUser_9_g3x"
| "frequencyComUser_10_g3x"
| "frequencyComUser_11_g3x"
| "frequencyComUser_12_g3x"
| "frequencyComUser_13_g3x"
| "frequencyComUser_14_g3x"
| "frequencyComUser_15_g3x"
| "frequencyNavRecent_2_g3x"
| "frequencyNavRecent_4_g3x"
| "frequencyNavRecent_16_g3x"
| "frequencyNavRecent_1_g3x"
| "frequencyNavRecent_3_g3x"
| "frequencyNavRecent_5_g3x"
| "frequencyNavRecent_6_g3x"
| "frequencyNavRecent_7_g3x"
| "frequencyNavRecent_8_g3x"
| "frequencyNavRecent_9_g3x"
| "frequencyNavRecent_10_g3x"
| "frequencyNavRecent_11_g3x"
| "frequencyNavRecent_12_g3x"
| "frequencyNavRecent_13_g3x"
| "frequencyNavRecent_14_g3x"
| "frequencyNavRecent_15_g3x"
| "frequencyNavUser_2_g3x"
| "frequencyNavUser_4_g3x"
| "frequencyNavUser_16_g3x"
| "frequencyNavUser_1_g3x"
| "frequencyNavUser_3_g3x"
| "frequencyNavUser_5_g3x"
| "frequencyNavUser_6_g3x"
| "frequencyNavUser_7_g3x"
| "frequencyNavUser_8_g3x"
| "frequencyNavUser_9_g3x"
| "frequencyNavUser_10_g3x"
| "frequencyNavUser_11_g3x"
| "frequencyNavUser_12_g3x"
| "frequencyNavUser_13_g3x"
| "frequencyNavUser_14_g3x"
| "frequencyNavUser_15_g3x"
? UserSetting
<SavedFrequencyAllUserSettingTypes
[K
]> : undefined
Inherit Doc
Implementation of
UserSettingManager.tryGetSetting
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Settings/SavedFrequenciesUserSettings.ts:56
whenSettingChanged
▸ whenSettingChanged<K
>(name
): Consumer
<NonNullable
<SavedFrequencyAllUserSettingTypes
[K
]>>
Type parameters
Name | Type |
---|---|
K | extends "frequencyComRecent_2_g3x" | "frequencyComRecent_4_g3x" | "frequencyComRecent_16_g3x" | "frequencyComRecent_1_g3x" | "frequencyComRecent_3_g3x" | "frequencyComRecent_5_g3x" | "frequencyComRecent_6_g3x" | "frequencyComRecent_7_g3x" | "frequencyComRecent_8_g3x" | "frequencyComRecent_9_g3x" | "frequencyComRecent_10_g3x" | "frequencyComRecent_11_g3x" | "frequencyComRecent_12_g3x" | "frequencyComRecent_13_g3x" | "frequencyComRecent_14_g3x" | "frequencyComRecent_15_g3x" | "frequencyComUser_2_g3x" | "frequencyComUser_4_g3x" | "frequencyComUser_16_g3x" | "frequencyComUser_1_g3x" | "frequencyComUser_3_g3x" | "frequencyComUser_5_g3x" | "frequencyComUser_6_g3x" | "frequencyComUser_7_g3x" | "frequencyComUser_8_g3x" | "frequencyComUser_9_g3x" | "frequencyComUser_10_g3x" | "frequencyComUser_11_g3x" | "frequencyComUser_12_g3x" | "frequencyComUser_13_g3x" | "frequencyComUser_14_g3x" | "frequencyComUser_15_g3x" | "frequencyNavRecent_2_g3x" | "frequencyNavRecent_4_g3x" | "frequencyNavRecent_16_g3x" | "frequencyNavRecent_1_g3x" | "frequencyNavRecent_3_g3x" | "frequencyNavRecent_5_g3x" | "frequencyNavRecent_6_g3x" | "frequencyNavRecent_7_g3x" | "frequencyNavRecent_8_g3x" | "frequencyNavRecent_9_g3x" | "frequencyNavRecent_10_g3x" | "frequencyNavRecent_11_g3x" | "frequencyNavRecent_12_g3x" | "frequencyNavRecent_13_g3x" | "frequencyNavRecent_14_g3x" | "frequencyNavRecent_15_g3x" | "frequencyNavUser_2_g3x" | "frequencyNavUser_4_g3x" | "frequencyNavUser_16_g3x" | "frequencyNavUser_1_g3x" | "frequencyNavUser_3_g3x" | "frequencyNavUser_5_g3x" | "frequencyNavUser_6_g3x" | "frequencyNavUser_7_g3x" | "frequencyNavUser_8_g3x" | "frequencyNavUser_9_g3x" | "frequencyNavUser_10_g3x" | "frequencyNavUser_11_g3x" | "frequencyNavUser_12_g3x" | "frequencyNavUser_13_g3x" | "frequencyNavUser_14_g3x" | "frequencyNavUser_15_g3x" |
Parameters
Name | Type |
---|---|
name | K |
Returns
Consumer
<NonNullable
<SavedFrequencyAllUserSettingTypes
[K
]>>
Inherit Doc
Implementation of
UserSettingManager.whenSettingChanged
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Settings/SavedFrequenciesUserSettings.ts:66