Abstract Class: GtcProcedureSelectionPage<P>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:47
Base class for the 3 procedure selection pages.
Extends
GtcView<P>
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
P extends GtcProcedureSelectionPageProps | GtcProcedureSelectionPageProps |
Constructors
Constructor
new GtcProcedureSelectionPage<
P>(props):GtcProcedureSelectionPage<P>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:134
Constructor.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | P | This component's props. |
Returns
GtcProcedureSelectionPage<P>
Throws
Error if a display pane index is not defined for this view.
Overrides
Properties
_activeComponent
protectedreadonly_activeComponent:Subject<null|GtcInteractionHandler>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:34
Inherited from
_sidebarState
protectedreadonly_sidebarState:GtcSidebarState
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:36
Inherited from
_title
protectedreadonly_title:Subject<undefined|string>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:40
Inherited from
airportChartData
protectedairportChartData:null|G3000ChartsAirportSelectionData=null
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:101
bus
protectedreadonlybus:EventBus
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:31
Inherited from
canControlDisplayPane
protectedreadonlycanControlDisplayPane:MappedSubject<[GtcControlMode,-1|ControllableDisplayPaneIndex],boolean>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:65
canPreview
protectedreadonlycanPreview:MappedSubscribable<boolean>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:89
canPreviewChart
protectedreadonlycanPreviewChart:MappedSubscribable<boolean>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:107
chartPreviewData
protectedreadonlychartPreviewData:Subject<null|G3000ChartsPageSelectionData>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:106
chartPublisher
protectedreadonlychartPublisher:Publisher<G3000ChartsControlEvents>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:55
chartsSources
protectedreadonlychartsSources:Map<string,G3000ChartsSource>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:98
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
displayPaneIndex
protectedreadonlydisplayPaneIndex:ControllableDisplayPaneIndex
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:57
displayPaneSettings
protectedreadonlydisplayPaneSettings:UserSettingManager<DisplayPaneSettings>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:58
fms
protectedreadonlyfms:Fms<any>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:60
gtcService
protectedreadonlygtcService:GtcService
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:32
Inherited from
listParams
protectedreadonlylistParams:Partial<GtcListDialogParams<any>>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:109
nearestContext?
protectedoptionalnearestContext:G3000NearestContext
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:117
previewData
protectedreadonlypreviewData:Subject<null|ProcedurePreviewPaneProcData>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:73
previewMode
protectedreadonlypreviewMode:Subject<GtcProcedurePreviewMode>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:71
props
props:
P&ComponentProps
Defined in: sdk/components/FSComponent.ts:61
The properties of the component.
Inherited from
publisher
protectedreadonlypublisher:Publisher<DisplayPaneControlEvents<ProcedurePreviewPaneViewEventTypes>>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:54
selectedAirport
protectedreadonlyselectedAirport:Subject<undefined|AirportFacility>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:63
selectedChartsPage
protectedreadonlyselectedChartsPage:ConsumerValue<null|G3000ChartsPageSelectionData>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:104
selectedChartsSource
protectedreadonlyselectedChartsSource:MappedSubscribable<undefined|G3000ChartsSource>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:99
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
store
protectedreadonlystore:FlightPlanStore
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:61
title
readonlytitle:Subscribable<undefined|string>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:42
This view's title.
Inherited from
PREVIEW_MODE_TEXT
protectedreadonlystaticPREVIEW_MODE_TEXT:object
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:48
Chart
Chart:
string='Show Chart'
Map
Map:
string='Show On Map'
Off
Off:
string='Off'
Methods
createAirportChartData()
abstractprotectedcreateAirportChartData(selectedAirport,chartsSource,chartIndex):Promise<G3000ChartsAirportSelectionData>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:403
Creates an airport chart data object for this page.
Parameters
| Parameter | Type | Description |
|---|---|---|
selectedAirport | AirportFacility | The selected airport. |
chartsSource | G3000ChartsSource | The charts source to use to retrieve chart data. |
chartIndex | ChartIndex<string> | The chart index for the selected airport. |
Returns
Promise<G3000ChartsAirportSelectionData>
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():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:152
A callback that is called after the component is rendered.
Returns
void
Overrides
onAirportChartDataRefreshed()
abstractprotectedonAirportChartDataRefreshed(data):void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:413
Responds to when this page's airport chart data are refreshed.
Parameters
| Parameter | Type | Description |
|---|---|---|
data | null | G3000ChartsAirportSelectionData | The new airport chart data. |
Returns
void
onBeforeRender()
onBeforeRender():
void
Defined in: sdk/components/FSComponent.ts:80
A callback that is called before the component is rendered.
Returns
void
Inherited from
onClose()
onClose():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:220
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
Overrides
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
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
Inherited from
onOpen()
onOpen():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:214
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
Overrides
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
Inherited from
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
Inherited from
onResume()
onResume():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:175
A method that is called when this view is resumed. A view is resumed when it is the active view.
Returns
void
Overrides
render()
abstractrender():null|VNode
Defined in: sdk/components/FSComponent.ts:93
Renders the component.
Returns
null | VNode
A JSX element to be rendered.
Inherited from
renderAirportButton()
protectedrenderAirportButton(onAirportSelected):VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:420
Renders the airport select button.
Parameters
| Parameter | Type | Description |
|---|---|---|
onAirportSelected | () => void | Airport selected handler. |
Returns
The airport button.
renderPreviewButton()
protectedrenderPreviewButton():VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:446
Renders the preview button.
Returns
The preview button.
renderSequenceBox()
protectedrenderSequenceBox(listRef,sidebarState,sequence):VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:511
Renders the sequence box.
Parameters
| Parameter | Type | Description |
|---|---|---|
listRef | NodeReference<GtcList<any>> | The list ref. |
sidebarState | GtcSidebarState | The sidebar state for the view. |
sequence | SubscribableArray<LegDefinition> | The sequence. |
Returns
The rendered sequence box.
sendProcedurePreviewChartData()
protectedsendProcedurePreviewChartData(data):void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:341
Sends a command to select a procedure preview chart page.
Parameters
| Parameter | Type | Description |
|---|---|---|
data | G3000ChartsPageSelectionData | Data describing the chart page to select. |
Returns
void
sendProcedurePreviewData()
protectedsendProcedurePreviewData(data):void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:329
Sends procedure preview data to the display pane controlled by this page.
Parameters
| Parameter | Type | Description |
|---|---|---|
data | ProcedurePreviewPaneProcData | The data to send. |
Returns
void