Class: GtcAirportInfoPage2
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcAirportInfoPage2.tsx:36
A GTC airport information page.
Extends
Constructors
Constructor
new GtcAirportInfoPage2(
props):GtcAirportInfoPage2
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcAirportInfoPage2.tsx:55
Creates a new instance of GtcAirportInfoPage2.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | GtcAirportInfoPage2Props | The component's props. |
Returns
GtcAirportInfoPage2
Throws
Error if a display pane index is not defined for this view.
Overrides
GtcWaypointInfoPage2.constructor
Properties
_activeComponent
protectedreadonly_activeComponent:Subject<GtcInteractionHandler|null>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:34
Inherited from
GtcWaypointInfoPage2._activeComponent
_sidebarState
protectedreadonly_sidebarState:GtcSidebarState
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:36
Inherited from
GtcWaypointInfoPage2._sidebarState
_title
protectedreadonly_title:Subject<string|undefined>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:40
Inherited from
bus
protectedreadonlybus:EventBus
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:31
Inherited from
canShowOnMap
protectedreadonlycanShowOnMap:MappedSubscribable<boolean>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:59
Whether the currently selected waypoint can be shown on the map.
Inherited from
GtcWaypointInfoPage2.canShowOnMap
context?
optionalcontext: [] =undefined
Defined in: sdk/components/FSComponent.ts:67
The context on this component, if any.
Inherited from
contextType?
readonlyoptionalcontextType: readonly [] =undefined
Defined in: sdk/components/FSComponent.ts:70
The type of context for this component, if any.
Inherited from
GtcWaypointInfoPage2.contextType
displayPaneIndex
protectedreadonlydisplayPaneIndex:ControllableDisplayPaneIndex
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:45
Inherited from
GtcWaypointInfoPage2.displayPaneIndex
displayPaneSettingManager
protectedreadonlydisplayPaneSettingManager:UserSettingManager<DisplayPaneSettings>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:46
Inherited from
GtcWaypointInfoPage2.displayPaneSettingManager
facWaypointCache
protectedreadonlyfacWaypointCache:GarminFacilityWaypointCache
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:48
Inherited from
GtcWaypointInfoPage2.facWaypointCache
gtcService
protectedreadonlygtcService:GtcService
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:32
Inherited from
GtcWaypointInfoPage2.gtcService
infoRef
protectedreadonlyinfoRef:NodeReference<GtcWaypointInfo<Airport,GtcWaypointInfoProps<Airport>>>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:53
Inherited from
optionsPopupKey
protectedreadonlyoptionsPopupKey:Options=GtcAirportInfoPagePopupKeys.Options
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcAirportInfoPage2.tsx:45
The view key for this page's options popup.
Overrides
GtcWaypointInfoPage2.optionsPopupKey
props
props:
GtcAirportInfoPage2Props&ComponentProps
Defined in: sdk/components/FSComponent.ts:64
The properties of the component.
Inherited from
publisher
protectedreadonlypublisher:Publisher<DisplayPaneControlEvents<WaypointInfoPaneViewEventTypes>>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:43
Inherited from
GtcWaypointInfoPage2.publisher
resetMapRange
protectedresetMapRange:boolean=false
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:76
Inherited from
GtcWaypointInfoPage2.resetMapRange
rootCssClass
protectedreadonlyrootCssClass:SubscribableSet<string> &Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:52
Inherited from
GtcWaypointInfoPage2.rootCssClass
selectedWaypoint
protectedreadonlyselectedWaypoint:Subject<AirportWaypoint|null>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:56
The selected waypoint, or null if there is no selected waypoint.
Inherited from
GtcWaypointInfoPage2.selectedWaypoint
showOnMap
protectedreadonlyshowOnMap:Subject<boolean>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:61
Inherited from
GtcWaypointInfoPage2.showOnMap
showOnMapData
protectedreadonlyshowOnMapData:Subject<Omit<WaypointInfoPaneSelectionData,"resetRange">>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:62
Inherited from
GtcWaypointInfoPage2.showOnMapData
showOnMapSub?
protectedoptionalshowOnMapSub:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:78
Inherited from
GtcWaypointInfoPage2.showOnMapSub
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.
Inherited from
GtcWaypointInfoPage2.sidebarState
title
readonlytitle:Subscribable<string|undefined>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:42
This view's title.
Inherited from
unitsSettingManager
protectedreadonlyunitsSettingManager:UnitsUserSettingManager<UnitsUserSettingTypes>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:50
Inherited from
GtcWaypointInfoPage2.unitsSettingManager
waypointSelectType
protectedreadonlywaypointSelectType:Airport=FacilitySearchType.Airport
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcAirportInfoPage2.tsx:44
The type of waypoint displayed by this page.
Overrides
GtcWaypointInfoPage2.waypointSelectType
REQUIRED_FACILITY_DATA_FLAGS
protectedreadonlystaticREQUIRED_FACILITY_DATA_FLAGS:number
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcAirportInfoPage2.tsx:37
Methods
destroy()
destroy():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcAirportInfoPage2.tsx:191
Destroys this component.
Returns
void
Overrides
getContext()
protectedgetContext(context):never
Defined in: sdk/components/FSComponent.ts:109
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
GtcWaypointInfoPage2.getContext
getCssClass()
protectedgetCssClass():string
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcAirportInfoPage2.tsx:168
Gets CSS classes to apply to this page's root element.
Returns
string
CSS classes to apply to this page's root element.
Overrides
GtcWaypointInfoPage2.getCssClass
initSelection()
initSelection(
facility?):Promise<void>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcAirportInfoPage2.tsx:78
Initializes this page's airport selection.
Parameters
| Parameter | Type | Description |
|---|---|---|
facility? | IcaoValue | AirportFacility | The airport facility to select, or its ICAO. If not defined, an initial airport will automatically be selected. |
Returns
Promise<void>
Overrides
GtcWaypointInfoPage2.initSelection
onAfterRender()
onAfterRender():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcAirportInfoPage2.tsx:62
A callback that is called after the component is rendered.
Returns
void
Overrides
GtcWaypointInfoPage2.onAfterRender
onBeforeRender()
onBeforeRender():
void
Defined in: sdk/components/FSComponent.ts:83
A callback that is called before the component is rendered.
Returns
void
Inherited from
GtcWaypointInfoPage2.onBeforeRender
onClose()
onClose():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:163
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
Inherited from
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.
Inherited from
GtcWaypointInfoPage2.onGtcInteractionEvent
onInUse()
onInUse():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:146
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
Inherited from
onOpen()
onOpen():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:156
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.
Returns
void
Inherited from
onOutOfUse()
onOutOfUse():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:151
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
Inherited from
GtcWaypointInfoPage2.onOutOfUse
onPause()
onPause():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:178
A method that is called when this view is paused. A view is paused when it is not the active view.
Returns
void
Inherited from
onResume()
onResume():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:171
A method that is called when this view is resumed. A view is resumed when it is the active view.
Returns
void
Inherited from
render()
render():
VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:197
Renders the component.
Returns
A JSX element to be rendered.
Inherited from
renderContent()
protectedrenderContent(infoRef):VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcAirportInfoPage2.tsx:173
Renders this page's contents.
Parameters
| Parameter | Type |
|---|---|
infoRef | NodeReference<GtcWaypointInfo<Airport, GtcWaypointInfoProps<Airport>>> |
Returns
This page's contents, rendered as a VNode.
Overrides
GtcWaypointInfoPage2.renderContent
renderOptionsPopup()
protectedrenderOptionsPopup(gtcService,controlMode,displayPaneIndex?):VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:224
Renders this page's options popup.
Parameters
| Parameter | Type | Description |
|---|---|---|
gtcService | GtcService | The GTC service. |
controlMode | GtcControlMode | The control mode to which the popup belongs. |
displayPaneIndex? | ControllableDisplayPaneIndex | The index of the display pane associated with the popup. |
Returns
This page's options popup, as a VNode.
Inherited from
GtcWaypointInfoPage2.renderOptionsPopup
sendSelectionData()
protectedsendSelectionData(data):void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:188
Sends waypoint selection data to the display pane controlled by this page.
Parameters
| Parameter | Type | Description |
|---|---|---|
data | WaypointInfoPaneSelectionData | The data to send. |
Returns
void