Skip to main content

Class: GtcDeparturePage

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcDeparturePage.tsx:26

Allows user to configure and load a departure into the flight plan.

Extends

Constructors

Constructor

new GtcDeparturePage(props): GtcDeparturePage

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:134

Constructor.

Parameters

ParameterTypeDescription
propsGtcProcedureSelectionPagePropsThis component's props.

Returns

GtcDeparturePage

Throws

Error if a display pane index is not defined for this view.

Inherited from

GtcProcedureSelectionPage.constructor

Properties

_activeComponent

protected readonly _activeComponent: Subject<null | GtcInteractionHandler>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:34

Inherited from

GtcProcedureSelectionPage._activeComponent


_sidebarState

protected readonly _sidebarState: GtcSidebarState

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:36

Inherited from

GtcProcedureSelectionPage._sidebarState


_title

protected readonly _title: Subject<undefined | string>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:40

Inherited from

GtcProcedureSelectionPage._title


airportChartData

protected airportChartData: null | G3000ChartsAirportSelectionData = null

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:101

Inherited from

GtcProcedureSelectionPage.airportChartData


bus

protected readonly bus: EventBus

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:31

Inherited from

GtcProcedureSelectionPage.bus


canControlDisplayPane

protected readonly canControlDisplayPane: MappedSubject<[GtcControlMode, -1 | ControllableDisplayPaneIndex], boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:65

Inherited from

GtcProcedureSelectionPage.canControlDisplayPane


canPreview

protected readonly canPreview: MappedSubscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:89

Inherited from

GtcProcedureSelectionPage.canPreview


canPreviewChart

protected readonly canPreviewChart: MappedSubscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:107

Inherited from

GtcProcedureSelectionPage.canPreviewChart


chartPreviewData

protected readonly chartPreviewData: Subject<null | G3000ChartsPageSelectionData>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:106

Inherited from

GtcProcedureSelectionPage.chartPreviewData


chartPublisher

protected readonly chartPublisher: Publisher<G3000ChartsControlEvents>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:55

Inherited from

GtcProcedureSelectionPage.chartPublisher


chartsSources

protected readonly chartsSources: Map<string, G3000ChartsSource>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:98

Inherited from

GtcProcedureSelectionPage.chartsSources


context?

optional context: [] = undefined

Defined in: sdk/components/FSComponent.ts:64

The context on this component, if any.

Inherited from

GtcProcedureSelectionPage.context


contextType?

readonly optional contextType: readonly [] = undefined

Defined in: sdk/components/FSComponent.ts:67

The type of context for this component, if any.

Inherited from

GtcProcedureSelectionPage.contextType


displayPaneIndex

protected readonly displayPaneIndex: ControllableDisplayPaneIndex

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:57

Inherited from

GtcProcedureSelectionPage.displayPaneIndex


displayPaneSettings

protected readonly displayPaneSettings: UserSettingManager<DisplayPaneSettings>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:58

Inherited from

GtcProcedureSelectionPage.displayPaneSettings


fms

protected readonly fms: Fms<any>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:60

Inherited from

GtcProcedureSelectionPage.fms


gtcService

protected readonly gtcService: GtcService

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:32

Inherited from

GtcProcedureSelectionPage.gtcService


listParams

protected readonly listParams: Partial<GtcListDialogParams<any>>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:109

Inherited from

GtcProcedureSelectionPage.listParams


nearestContext?

protected optional nearestContext: G3000NearestContext

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:117

Inherited from

GtcProcedureSelectionPage.nearestContext


previewData

protected readonly previewData: Subject<null | ProcedurePreviewPaneProcData>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:73

Inherited from

GtcProcedureSelectionPage.previewData


previewMode

protected readonly previewMode: Subject<GtcProcedurePreviewMode>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:71

Inherited from

GtcProcedureSelectionPage.previewMode


props

props: GtcProcedureSelectionPageProps & ComponentProps

Defined in: sdk/components/FSComponent.ts:61

The properties of the component.

Inherited from

GtcProcedureSelectionPage.props


publisher

protected readonly publisher: Publisher<DisplayPaneControlEvents<ProcedurePreviewPaneViewEventTypes>>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:54

Inherited from

GtcProcedureSelectionPage.publisher


selectedAirport

protected readonly selectedAirport: Subject<undefined | AirportFacility>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:63

Inherited from

GtcProcedureSelectionPage.selectedAirport


selectedChartsPage

protected readonly selectedChartsPage: ConsumerValue<null | G3000ChartsPageSelectionData>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:104

Inherited from

GtcProcedureSelectionPage.selectedChartsPage


selectedChartsSource

protected readonly selectedChartsSource: MappedSubscribable<undefined | G3000ChartsSource>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:99

Inherited from

GtcProcedureSelectionPage.selectedChartsSource


sidebarState

readonly sidebarState: 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

GtcProcedureSelectionPage.sidebarState


store

protected readonly store: FlightPlanStore

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:61

Inherited from

GtcProcedureSelectionPage.store


title

title: Subject<string>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcDeparturePage.tsx:27

This view's title.

Overrides

GtcProcedureSelectionPage.title


PREVIEW_MODE_TEXT

protected readonly static PREVIEW_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'

Inherited from

GtcProcedureSelectionPage.PREVIEW_MODE_TEXT

Methods

createAirportChartData()

protected createAirportChartData(selectedAirport, chartsSource, chartIndex): Promise<G3000ChartsAirportSelectionData>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcDeparturePage.tsx:292

Creates an airport chart data object for this page.

Parameters

ParameterTypeDescription
selectedAirportAirportFacilityThe selected airport.
chartsSourceG3000ChartsSourceThe charts source to use to retrieve chart data.
chartIndexChartIndex<string>The chart index for the selected airport.

Returns

Promise<G3000ChartsAirportSelectionData>

Overrides

GtcProcedureSelectionPage.createAirportChartData


destroy()

destroy(): void

Defined in: sdk/components/FSComponent.ts:98

Destroys this component.

Returns

void

Inherited from

GtcProcedureSelectionPage.destroy


getContext()

protected getContext(context): never

Defined in: sdk/components/FSComponent.ts:106

Gets a context data subscription from the context collection.

Parameters

ParameterTypeDescription
contextneverThe 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

GtcProcedureSelectionPage.getContext


initSelection()

initSelection(facility?, departure?): Promise<void>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcDeparturePage.tsx:138

Initializes this page's departure selection.

Parameters

ParameterTypeDescription
facility?AirportFacilityThe airport facility to select. If not defined, an initial airport will automatically be selected.
departure?ProcedureThe departure to select. Ignored if facility is not defined. If not defined, an initial departure will automatically be selected.

Returns

Promise<void>


onAfterRender()

onAfterRender(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcDeparturePage.tsx:122

A callback that is called after the component is rendered.

Returns

void

Overrides

GtcProcedureSelectionPage.onAfterRender


onAirportChartDataRefreshed()

protected onAirportChartDataRefreshed(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcDeparturePage.tsx:313

Responds to when this page's airport chart data are refreshed.

Returns

void

Overrides

GtcProcedureSelectionPage.onAirportChartDataRefreshed


onBeforeRender()

onBeforeRender(): void

Defined in: sdk/components/FSComponent.ts:80

A callback that is called before the component is rendered.

Returns

void

Inherited from

GtcProcedureSelectionPage.onBeforeRender


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

Inherited from

GtcProcedureSelectionPage.onClose


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

ParameterTypeDescription
eventGtcInteractionEventThe event.

Returns

boolean

Whether the event was handled or not.

Inherited from

GtcProcedureSelectionPage.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

Inherited from

GtcProcedureSelectionPage.onInUse


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

Inherited from

GtcProcedureSelectionPage.onOpen


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

GtcProcedureSelectionPage.onOutOfUse


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

GtcProcedureSelectionPage.onPause


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

Inherited from

GtcProcedureSelectionPage.onResume


render()

render(): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcDeparturePage.tsx:597

Renders the component.

Returns

VNode

A JSX element to be rendered.

Overrides

GtcProcedureSelectionPage.render


renderAirportButton()

protected renderAirportButton(onAirportSelected): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:420

Renders the airport select button.

Parameters

ParameterTypeDescription
onAirportSelected() => voidAirport selected handler.

Returns

VNode

The airport button.

Inherited from

GtcProcedureSelectionPage.renderAirportButton


renderPreviewButton()

protected renderPreviewButton(): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:446

Renders the preview button.

Returns

VNode

The preview button.

Inherited from

GtcProcedureSelectionPage.renderPreviewButton


renderSequenceBox()

protected renderSequenceBox(listRef, sidebarState, sequence): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/Procedures/GtcProcedureSelectionPage.tsx:511

Renders the sequence box.

Parameters

ParameterTypeDescription
listRefNodeReference<GtcList<any>>The list ref.
sidebarStateGtcSidebarStateThe sidebar state for the view.
sequenceSubscribableArray<LegDefinition>The sequence.

Returns

VNode

The rendered sequence box.

Inherited from

GtcProcedureSelectionPage.renderSequenceBox


sendProcedurePreviewChartData()

protected sendProcedurePreviewChartData(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

ParameterTypeDescription
dataG3000ChartsPageSelectionDataData describing the chart page to select.

Returns

void

Inherited from

GtcProcedureSelectionPage.sendProcedurePreviewChartData


sendProcedurePreviewData()

protected sendProcedurePreviewData(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

ParameterTypeDescription
dataProcedurePreviewPaneProcDataThe data to send.

Returns

void

Inherited from

GtcProcedureSelectionPage.sendProcedurePreviewData