Class: GtcView<P>
A GtcView component
Type parameters
Name | Type |
---|---|
P | extends GtcViewProps = GtcViewProps |
Hierarchy
DisplayComponent
<P
>↳
GtcView
↳↳
GtcConnextWeatherSettingsPage
↳↳
GtcHoldPage
↳↳
GtcNearestAirportOptionsPopup
↳↳
GtcNearestWaypointOptionsPopup
↳↳
GtcPerfPage
↳↳
GtcSetupPage
↳↳
GtcTimerPage
↳↳
GtcUserWaypointInfoOptionsPopup
↳↳
GtcWaypointInfoDirectoryPage
↳↳
GtcWaypointInfoOptionsPopup
Implements
Constructors
constructor
• new GtcView<P
>(props
): GtcView
<P
>
Creates an instance of a DisplayComponent.
Type parameters
Name | Type |
---|---|
P | extends GtcViewProps = GtcViewProps |
Parameters
Name | Type | Description |
---|---|---|
props | P | The propertis of the component. |
Returns
GtcView
<P
>
Inherited from
DisplayComponent<P>.constructor
Defined in
sdk/components/FSComponent.ts:73
Properties
_activeComponent
• Protected
Readonly
_activeComponent: Subject
<null
| GtcInteractionHandler
>
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:26
_sidebarState
• Protected
Readonly
_sidebarState: GtcSidebarState
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:28
_title
• Protected
Readonly
_title: Subject
<undefined
| string
>
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:32
bus
• Protected
Readonly
bus: EventBus
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:23
context
• Optional
context: [] = undefined
The context on this component, if any.
Inherited from
DisplayComponent.context
Defined in
sdk/components/FSComponent.ts:64
contextType
• Optional
Readonly
contextType: readonly [] = undefined
The type of context for this component, if any.
Inherited from
DisplayComponent.contextType
Defined in
sdk/components/FSComponent.ts:67
gtcService
• Protected
Readonly
gtcService: GtcService
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:24
props
• props: P
& ComponentProps
The properties of the component.
Inherited from
DisplayComponent.props
Defined in
sdk/components/FSComponent.ts:61
sidebarState
• Readonly
sidebarState: SidebarStateReadonly
The GTC sidebar state (labels and buttons) requested by this view.
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:30
title
• Readonly
title: Subscribable
<undefined
| string
>
This view's title.
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:34
Methods
destroy
▸ destroy(): void
Destroys this component.
Returns
void
Inherited from
DisplayComponent.destroy
Defined in
sdk/components/FSComponent.ts:98
getContext
▸ getContext(context
): never
Gets a context data subscription from the context collection.
Parameters
Name | 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
DisplayComponent.getContext
Defined in
sdk/components/FSComponent.ts:106
onAfterRender
▸ onAfterRender(node
): void
A callback that is called after the component is rendered.
Parameters
Name | Type | Description |
---|---|---|
node | VNode | The component's VNode. |
Returns
void
Inherited from
DisplayComponent.onAfterRender
Defined in
sdk/components/FSComponent.ts:87
onBeforeRender
▸ onBeforeRender(): void
A callback that is called before the component is rendered.
Returns
void
Inherited from
DisplayComponent.onBeforeRender
Defined in
sdk/components/FSComponent.ts:80
onClose
▸ onClose(): void
The Close lifecycle method
Returns
void
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:47
onGtcInteractionEvent
▸ onGtcInteractionEvent(event
): boolean
Called when there is an interaction event when this is the active view.
Parameters
Name | Type | Description |
---|---|---|
event | GtcInteractionEvent | The event. |
Returns
boolean
Whether the event was handled or not.
Implementation of
GtcInteractionHandler.onGtcInteractionEvent
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:65
onOpen
▸ onOpen(wasPreviouslyOpened
): void
The Open lifecycle method
Parameters
Name | 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
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:42
onPause
▸ onPause(): void
The Pause lifecycle method
Returns
void
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:52
onResume
▸ onResume(): void
The Resume lifecycle method
Returns
void
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:57
render
▸ render(): null
| VNode
Renders the component.
Returns
null
| VNode
A JSX element to be rendered.
Inherited from
DisplayComponent.render
Defined in
sdk/components/FSComponent.ts:93