Skip to main content

Class: MFDSelectDeparture

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDeparture.tsx:10

An MFD view for selecting departures.

Extends​

Constructors​

Constructor​

new MFDSelectDeparture(props): MFDSelectDeparture

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:36

Parameters​

ParameterType
propsMFDSelectDepArrProps

Returns​

MFDSelectDeparture

Inherit Doc​

Inherited from​

MFDSelectDepArr.constructor

Properties​

context?​

optional context: [] = undefined

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

The context on this component, if any.

Inherited from​

MFDSelectDepArr.context


contextType?​

readonly optional contextType: readonly [] = undefined

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

The type of context for this component, if any.

Inherited from​

MFDSelectDepArr.contextType


controller​

protected readonly controller: SelectDepArrController<Procedure, SelectDepArrStore<Procedure>>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:44

Inherited from​

MFDSelectDepArr.controller


focusSubject​

protected focusSubject: Subject<boolean>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:33

Inherited from​

MFDSelectDepArr.focusSubject


procSelectRef​

protected readonly procSelectRef: NodeReference<SelectControl2<Procedure>>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:39

Inherited from​

MFDSelectDepArr.procSelectRef


props​

props: MFDSelectDepArrProps & ComponentProps

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

The properties of the component.

Inherited from​

MFDSelectDepArr.props


rootRef​

protected readonly rootRef: NodeReference<HTMLDivElement>

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArr.tsx:35

Inherited from​

MFDSelectDepArr.rootRef


rwyTransSelectRef​

protected readonly rwyTransSelectRef: NodeReference<SelectControl2<RunwayTransition>>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:41

Inherited from​

MFDSelectDepArr.rwyTransSelectRef


scrollController​

protected scrollController: ScrollController

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:32

Inherited from​

MFDSelectDepArr.scrollController


store​

protected readonly store: SelectDepArrStore<Procedure>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:43

Inherited from​

MFDSelectDepArr.store


transSelectRef​

protected readonly transSelectRef: NodeReference<SelectControl2<EnrouteTransition>>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:40

Inherited from​

MFDSelectDepArr.transSelectRef


unitsSettingManager​

protected readonly unitsSettingManager: UnitsUserSettingManager<UnitsUserSettingTypes>

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArr.tsx:37

Inherited from​

MFDSelectDepArr.unitsSettingManager

Methods​

activate()​

activate(): void

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArr.tsx:40

Activates this component.

Returns​

void

Inherited from​

MFDSelectDepArr.activate


blur()​

blur(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:71

Method to unfocus this control group

Returns​

void

Inherited from​

MFDSelectDepArr.blur


buildProcMenuItem()​

protected buildProcMenuItem(proc): ContextMenuItemDefinition

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:92

Builds a procedure menu item.

Parameters​

ParameterTypeDescription
procProcedureThe procedure to build the menu item for.

Returns​

ContextMenuItemDefinition

A menu item definition.

Inherited from​

MFDSelectDepArr.buildProcMenuItem


buildRwyMenuItem()​

protected buildRwyMenuItem(rwyTrans): ContextMenuItemDefinition

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:105

Builds a runway transition menu item.

Parameters​

ParameterTypeDescription
rwyTransRunwayTransitionThe runway transition to build the menu item for.

Returns​

ContextMenuItemDefinition

A menu item definition.

Inherited from​

MFDSelectDepArr.buildRwyMenuItem


buildTransMenuItem()​

protected buildTransMenuItem(trans): ContextMenuItemDefinition

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:119

Builds an enroute transition menu item.

Parameters​

ParameterTypeDescription
transEnrouteTransitionThe transition to build the menu item for.

Returns​

ContextMenuItemDefinition

A menu item definition.

Inherited from​

MFDSelectDepArr.buildTransMenuItem


createController()​

protected createController(store): MFDSelectDepartureController

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDeparture.tsx:17

Creates an instance of a departure/arrival selection component controller.

Parameters​

ParameterTypeDescription
storeMFDSelectDepartureStoreThis component's data store.

Returns​

MFDSelectDepartureController

A departure/arrival selection component controller.

Overrides​

MFDSelectDepArr.createController


createStore()​

protected createStore(): MFDSelectDepartureStore

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDeparture.tsx:12

Creates an instance of a departure/arrival selection component data store.

Returns​

MFDSelectDepartureStore

A departure/arrival selection component data store.

Overrides​

MFDSelectDepArr.createStore


deactivate()​

deactivate(): void

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArr.tsx:48

Deactivates this component.

Returns​

void

Inherited from​

MFDSelectDepArr.deactivate


destroy()​

destroy(): void

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

Destroys this component.

Returns​

void

Inherited from​

MFDSelectDepArr.destroy


focus()​

focus(dir): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:61

Method to focus this control group

Parameters​

ParameterTypeDefault valueDescription
dirEntryDirection'top'The direction of entry.

Returns​

void

Inherited from​

MFDSelectDepArr.focus


getContext()​

protected getContext(context): never

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

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​

MFDSelectDepArr.getContext


getHighlightElement()​

getHighlightElement(): Element | null

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:125

This is just a dummy that exists here to be compatible with the union type of ScrollableControl

Returns​

Element | null

null

Inherited from​

MFDSelectDepArr.getHighlightElement


getIsFocusable()​

getIsFocusable(): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:88

Gets a boolean indicating if this control is able to be focused.

Returns​

boolean

true

Inherited from​

MFDSelectDepArr.getIsFocusable


getIsFocused()​

getIsFocused(): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:80

Method to check if this UiControlGroup is in focus

Returns​

boolean

true if the control group is in focus, false otherwise

Inherited from​

MFDSelectDepArr.getIsFocused


getProcLabel()​

protected getProcLabel(): string

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDeparture.tsx:30

Gets the display label for the procedure.

Returns​

string

The procedure label string.

Overrides​

MFDSelectDepArr.getProcLabel


gotoNextSelect()​

protected gotoNextSelect(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:73

Goto and activate next select control.

Returns​

void

Inherited from​

MFDSelectDepArr.gotoNextSelect


initializeIcaoInput()​

initializeIcaoInput(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:68

Initializes the airport ICAO input.

Returns​

void

Inherited from​

MFDSelectDepArr.initializeIcaoInput


onAfterRender()​

onAfterRender(node): void

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

A callback that is called after the component is rendered.

Parameters​

ParameterTypeDescription
nodeVNodeThe component's VNode.

Returns​

void

Inherited from​

MFDSelectDepArr.onAfterRender


onBeforeRender()​

onBeforeRender(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:51

A callback that is called before the component is rendered.

Returns​

void

Inherited from​

MFDSelectDepArr.onBeforeRender


onBlurred()​

protected onBlurred(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:244

A callback which is called when this control group is blurred.

Returns​

void

Inherited from​

MFDSelectDepArr.onBlurred


onFocused()​

protected onFocused(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:237

A callback which is called when this control group is focused.

Returns​

void

Inherited from​

MFDSelectDepArr.onFocused


onInteractionEvent()​

onInteractionEvent(evt): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:217

Handler for interaction events to be handled by the view.

Parameters​

ParameterTypeDescription
evtFmsHEventThe HEvenet.

Returns​

boolean

true if the event was handled in this group

Inherited from​

MFDSelectDepArr.onInteractionEvent


onLoadSelected()​

protected onLoadSelected(): void

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArr.tsx:59

A callback which is called when the Load action is executed.

Returns​

void

Inherited from​

MFDSelectDepArr.onLoadSelected


onScrollToggled()​

protected onScrollToggled(enabled): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:97

A method called when the control group scroll is toggled.

Parameters​

ParameterTypeDescription
enabledbooleanif the scroll is enabled.

Returns​

void

Inherited from​

MFDSelectDepArr.onScrollToggled


processHEvent()​

processHEvent(evt): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:134

Handles HEvents and routes them to the subdialog when existant.

Parameters​

ParameterTypeDescription
evtFmsHEventThe received event.

Returns​

boolean

true if the event was handled in this control group, false otherwise.

Inherited from​

MFDSelectDepArr.processHEvent


processScrollEvent()​

protected processScrollEvent(evt): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:196

Attempts to handle scroll events.

Parameters​

ParameterTypeDescription
evtFmsHEventThe received event.

Returns​

boolean

whether the event was handled.

Inherited from​

MFDSelectDepArr.processScrollEvent


register()​

protected register(ctrl, unregister): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:226

Register/Unregisters a UiControl with the scroll controller.

Parameters​

ParameterTypeDefault valueDescription
ctrlScrollableControlundefinedThe UiControl to register.
unregisterbooleanfalseIndicates if the UiControl should be unregistered.

Returns​

void

Inherited from​

MFDSelectDepArr.register


render()​

render(): VNode

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArr.tsx:68

Renders the component.

Returns​

VNode

The component VNode.

Inherited from​

MFDSelectDepArr.render


renderEnrouteSelectControl()​

protected renderEnrouteSelectControl(container, dialogPosition?): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:205

Renders the enroute transition select control component.

Parameters​

ParameterTypeDescription
containerNodeReference<HTMLElement>A reference to the container that constrains the position of the select control pop-up.
dialogPosition?ContextMenuPositionThe position of the pop-up context menu dialog spawned by the select control.

Returns​

VNode

The rendered enroute transition select control component, as a VNode.

Inherited from​

MFDSelectDepArr.renderEnrouteSelectControl


renderProcedureSelectControl()​

protected renderProcedureSelectControl(container, dialogPosition?): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:149

Renders the procedure select control component.

Parameters​

ParameterTypeDescription
containerNodeReference<HTMLElement>A reference to the container that constrains the position of the select control pop-up.
dialogPosition?ContextMenuPositionThe position of the pop-up context menu dialog spawned by the select control.

Returns​

VNode

The rendered procedure select control component, as a VNode.

Inherited from​

MFDSelectDepArr.renderProcedureSelectControl


renderRunwaySelectControl()​

protected renderRunwaySelectControl(container, dialogPosition?): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:177

Renders the runway transition select control component.

Parameters​

ParameterTypeDescription
containerNodeReference<HTMLElement>A reference to the container that constrains the position of the select control pop-up.
dialogPosition?ContextMenuPositionThe position of the pop-up context menu dialog spawned by the select control.

Returns​

VNode

The rendered runway transition select control component, as a VNode.

Inherited from​

MFDSelectDepArr.renderRunwaySelectControl


renderWaypointInput()​

protected renderWaypointInput(): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:132

Renders the waypoint input component.

Returns​

VNode

The rendered waypoint input component, as a VNode.

Inherited from​

MFDSelectDepArr.renderWaypointInput


routeEventToControl()​

protected routeEventToControl(evt, control): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:176

Routes an interaction event to a UiControl.

Parameters​

ParameterTypeDescription
evtFmsHEventAn interaction event.
controlUiControlThe UiControl to which to route the event.

Returns​

boolean

Whether the event was handled by the UiControl.

Inherited from​

MFDSelectDepArr.routeEventToControl


setScrollEnabled()​

setScrollEnabled(enabled): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:113

Sets the scroll enabled state

Parameters​

ParameterTypeDescription
enabledbooleanindicating if scrolling should be enabled

Returns​

void

Inherited from​

MFDSelectDepArr.setScrollEnabled


toggleScroll()​

toggleScroll(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/UiControlGroup.tsx:104

Toggles the scroll highlighting

Returns​

void

Inherited from​

MFDSelectDepArr.toggleScroll