Skip to main content

Abstract Class: GtcProcedureSelectionPage<P>

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

Base class for the 3 procedure selection pages.

Extends

Extended by

Type Parameters

Type ParameterDefault type
P extends GtcProcedureSelectionPagePropsGtcProcedureSelectionPageProps

Constructors

Constructor

new GtcProcedureSelectionPage<P>(props): GtcProcedureSelectionPage<P>

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

Constructor.

Parameters

ParameterTypeDescription
propsPThis component's props.

Returns

GtcProcedureSelectionPage<P>

Throws

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

Overrides

GtcView.constructor

Properties

_activeComponent

protected readonly _activeComponent: Subject<null | GtcInteractionHandler>

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

Inherited from

GtcView._activeComponent


_sidebarState

protected readonly _sidebarState: GtcSidebarState

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

Inherited from

GtcView._sidebarState


_title

protected readonly _title: Subject<undefined | string>

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

Inherited from

GtcView._title


bus

protected readonly bus: EventBus

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

Inherited from

GtcView.bus


canPreview

protected readonly canPreview: MappedSubscribable<boolean>

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


context?

optional context: [] = undefined

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

The context on this component, if any.

Inherited from

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

GtcView.contextType


displayPaneIndex

protected readonly displayPaneIndex: ControllableDisplayPaneIndex

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


displayPaneSettings

protected readonly displayPaneSettings: UserSettingManager<DisplayPaneSettings>

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


fms

protected readonly fms: Fms<any>

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


gtcService

protected readonly gtcService: GtcService

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

Inherited from

GtcView.gtcService


listParams

protected readonly listParams: Partial<GtcListDialogParams<any>>

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


nearestContext?

protected optional nearestContext: G3000NearestContext

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


previewData

protected readonly previewData: Subject<null | ProcedurePreviewPaneProcData>

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


previewMode

protected readonly previewMode: Subject<GtcProcedurePreviewMode>

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


props

props: P & ComponentProps

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

The properties of the component.

Inherited from

GtcView.props


publisher

protected readonly publisher: Publisher<DisplayPaneControlEvents<ProcedurePreviewPaneViewEventTypes>>

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


selectedAirport

protected readonly selectedAirport: Subject<undefined | AirportFacility>

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


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

GtcView.sidebarState


store

protected readonly store: FlightPlanStore

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


title

readonly title: Subscribable<undefined | string>

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

This view's title.

Inherited from

GtcView.title


PREVIEW_MODE_TEXT

protected readonly static PREVIEW_MODE_TEXT: object

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

Chart

Chart: string = 'Show On Chart'

Map

Map: string = 'Show On Map'

Off

Off: string = 'Off'

Methods

destroy()

destroy(): void

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

Destroys this component.

Returns

void

Inherited from

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

GtcView.getContext


onAfterRender()

onAfterRender(): void

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

A callback that is called after the component is rendered.

Returns

void

Overrides

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

GtcView.onBeforeRender


onClose()

onClose(): void

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

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

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

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

GtcView.onInUse


onOpen()

onOpen(): void

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

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

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

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

GtcView.onPause


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

Inherited from

GtcView.onResume


render()

abstract render(): null | VNode

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

Renders the component.

Returns

null | VNode

A JSX element to be rendered.

Inherited from

GtcView.render


renderAirportButton()

protected renderAirportButton(onAirportSelected): VNode

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

Renders the airport select button.

Parameters

ParameterTypeDescription
onAirportSelected() => voidAirport selected handler.

Returns

VNode

The airport button.


renderPreviewButton()

protected renderPreviewButton(): VNode

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

Renders the preview button.

Returns

VNode

The preview button.


renderSequenceBox()

protected renderSequenceBox(listRef, sidebarState, sequence): VNode

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

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.


sendProcedurePreviewData()

protected sendProcedurePreviewData(data): void

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

Sends procedure preview data to the display pane controlled by this page.

Parameters

ParameterTypeDescription
dataProcedurePreviewPaneProcDataThe data to send.

Returns

void