Abstract Class: GtcView<P>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:30
A GtcView component
Extends
Extended by
AbstractGtcNumberDialogGtcAirwaySelectionDialogGtcDuplicateWaypointDialogGtcFindWaypointDialogGtcFrequencyDialogGtcLatLonDialogGtcListDialogGtcLoadFrequencyDialogGtcMessageDialogGtcMinimumsSourceDialogGtcSpeedConstraintDialogGtcTextDialogGtcUserWaypointDialogGtcVnavAltitudeDialogGtcWaypointDialogGtcGenericViewGtcAvionicsSettingsPageGtcChartsPageGtcChecklistOptionsPopupGtcChecklistPageGtcConnextWeatherSettingsPageGtcDirectToPageGtcDirectToPageWaypointTabGtcFlapSpeedsPageFlightPlanDataFieldsPageGtcFlightPlanOptionsPopupGtcFlightPlanPageGtcHoldPageGtcInitializationPageGtcMapDetailSettingsPopupGtcMapNexradSettingsPopupGtcMapSettingsPageGtcMapTerrainSettingsPopupGtcMapTrafficSettingsPopupGtcPfdMapSettingsPageGtcMfdHomePageGtcMinimumsPageGtcAudioRadiosPopupGtcNavComHomeGtcTransponderDialogGtcTransponderModePopupGtcNearestAirportOptionsPopupGtcNearestDirectoryPageGtcNearestWaypointOptionsPopupGtcNearestWaypointPageGtcPerfPageGtcPfdHomePageGtcPfdSettingsPageGtcApproachMinimumsPopupGtcProcedureSelectionPageGtcProceduresPageGtcSetupPageGtcSpeedBugsPageGtcTerrainSettingsPageGtcTimerPageGtcToldConfigDefaultsPopupGtcToldDataPageGtcTrafficSettingsPageGtcUtilitiesMinimumsPopupGtcUtilitiesPageGtcAdvancedVnavProfilePageGtcVnavProfilePageGtcUserWaypointInfoOptionsPopupGtcWaypointInfoDirectoryPageGtcWaypointInfoOptionsPopupGtcWaypointInfoPageGtcWeatherRadarSettingsPageGtcWeatherSelectionPageGtcInitialFuelPageGtcWeightBalanceConfigPageGtcWeightBalancePageGtcWeightFuelPageGtcChartsAutoLightThresholdPopupGtcChartsOptionsPopupGtcChartsPanZoomControlPopupGtcMapPointerControlPopup
Type Parameters
| Type Parameter | Default type |
|---|---|
P extends GtcViewProps | GtcViewProps |
Implements
Constructors
Constructor
new GtcView<
P>(props):GtcView<P>
Defined in: sdk/components/FSComponent.ts:73
Creates an instance of a DisplayComponent.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | P | The propertis of the component. |
Returns
GtcView<P>
Inherited from
Properties
_activeComponent
protectedreadonly_activeComponent:Subject<null|GtcInteractionHandler>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:34
_sidebarState
protectedreadonly_sidebarState:GtcSidebarState
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:36
_title
protectedreadonly_title:Subject<undefined|string>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:40
bus
protectedreadonlybus:EventBus
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:31
context?
optionalcontext: [] =undefined
Defined in: sdk/components/FSComponent.ts:64
The context on this component, if any.
Inherited from
contextType?
readonlyoptionalcontextType: readonly [] =undefined
Defined in: sdk/components/FSComponent.ts:67
The type of context for this component, if any.
Inherited from
gtcService
protectedreadonlygtcService:GtcService
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:32
props
props:
P&ComponentProps
Defined in: sdk/components/FSComponent.ts:61
The properties of the component.
Inherited from
sidebarState
readonlysidebarState:SidebarStateReadonly
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:38
The GTC sidebar state (labels and buttons) requested by this view.
title
readonlytitle:Subscribable<undefined|string>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:42
This view's title.
Methods
destroy()
destroy():
void
Defined in: sdk/components/FSComponent.ts:98
Destroys this component.
Returns
void
Inherited from
getContext()
protectedgetContext(context):never
Defined in: sdk/components/FSComponent.ts:106
Gets a context data subscription from the context collection.
Parameters
| Parameter | Type | Description |
|---|---|---|
context | never | The context to get the subscription for. |
Returns
never
The requested context.
Throws
An error if no data for the specified context type could be found.
Inherited from
onAfterRender()
onAfterRender(
node):void
Defined in: sdk/components/FSComponent.ts:87
A callback that is called after the component is rendered.
Parameters
| Parameter | Type | Description |
|---|---|---|
node | VNode | The component's VNode. |
Returns
void
Inherited from
DisplayComponent.onAfterRender
onBeforeRender()
onBeforeRender():
void
Defined in: sdk/components/FSComponent.ts:80
A callback that is called before the component is rendered.
Returns
void
Inherited from
DisplayComponent.onBeforeRender
onClose()
onClose():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:75
A method that is called when this view is closed. A view is closed when it does not appear in the most recent history state of its parent view stack.
Returns
void
onGtcInteractionEvent()
onGtcInteractionEvent(
event):boolean
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:97
Called when there is an interaction event when this is the active view.
Parameters
| Parameter | Type | Description |
|---|---|---|
event | GtcInteractionEvent | The event. |
Returns
boolean
Whether the event was handled or not.
Implementation of
GtcInteractionHandler.onGtcInteractionEvent
onInUse()
onInUse():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:48
A method that is called when this view comes into use. A view is in-use when it appears in at least one history state of its parent view stack.
Returns
void
onOpen()
onOpen(
wasPreviouslyOpened):void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:67
A method that is called when this view is opened. A view is open when it appears in the most recent history state of its parent view stack.
Parameters
| Parameter | Type | Description |
|---|---|---|
wasPreviouslyOpened | boolean | True when this view was open in a previous view stack (like if the go back button was used to reach this page). |
Returns
void
onOutOfUse()
onOutOfUse():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:56
A method that is called when this view goes out of use. A view is out-of-use when it does not appear in any history states of its parent view stack.
Returns
void
onPause()
onPause():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:89
A method that is called when this view is paused. A view is paused when it is not the active view.
Returns
void
onResume()
onResume():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:82
A method that is called when this view is resumed. A view is resumed when it is the active view.
Returns
void
render()
abstractrender():null|VNode
Defined in: sdk/components/FSComponent.ts:93
Renders the component.
Returns
null | VNode
A JSX element to be rendered.