Class: G3XChartsManager
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Charts/G3XChartsManager.ts:9
A manager for G3X Touch electronic charts.
Constructors
Constructor
new G3XChartsManager(
settingManager
):G3XChartsManager
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Charts/G3XChartsManager.ts:20
Creates a new instance of G3XChartsManager.
Parameters
Parameter | Type | Description |
---|---|---|
settingManager | G3XChartsUserSettingManager | A manager for electronic charts user settings. |
Returns
G3XChartsManager
Methods
destroy()
destroy():
void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Charts/G3XChartsManager.ts:58
Destroys this manager.
Returns
void
startReconcilePreferredSource()
startReconcilePreferredSource(
chartsSources
):void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Charts/G3XChartsManager.ts:31
Starts automatic reconciliation of the preferred charts source with the available charts sources. If the preferred charts source is set to an undefined value or one that references a non-existent source, then the preferred charts source will be reset to the first available charts source. This method does nothing if this manager is not initialized.
Parameters
Parameter | Type | Description |
---|---|---|
chartsSources | Iterable <G3XChartsSource > | All available electronic charts sources. |
Returns
void
Throws
Error if this manager has been destroyed.