Skip to main content

Class: MFDSetRunway

A dialog for setting runways.

Hierarchy

Constructors

constructor

new MFDSetRunway(props): MFDSetRunway

Parameters

NameType
propsUiViewProps

Returns

MFDSetRunway

Inherit Doc

Inherited from

SetRunway.constructor

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:36

Properties

context

Optional context: [] = undefined

The context on this component, if any.

Inherited from

SetRunway.context

Defined in

sdk/components/FSComponent.ts:64


contextType

Optional Readonly contextType: readonly [] = undefined

The type of context for this component, if any.

Inherited from

SetRunway.contextType

Defined in

sdk/components/FSComponent.ts:67


focusSubject

Protected focusSubject: Subject<boolean>

Inherited from

SetRunway.focusSubject

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:33


inputData

inputData: Subject<undefined | AirportFacility>

Inherited from

SetRunway.inputData

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:36


onAccept

onAccept: SubEventInterface<MFDSetRunway, undefined | OneWayRunway>

Inherited from

SetRunway.onAccept

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:40


onClose

onClose: SubEventInterface<MFDSetRunway, void>

Inherited from

SetRunway.onClose

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:39


onOpen

onOpen: SubEventInterface<MFDSetRunway, void>

Inherited from

SetRunway.onOpen

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:38


props

props: UiViewProps & ComponentProps

The properties of the component.

Inherited from

SetRunway.props

Defined in

sdk/components/FSComponent.ts:61


scrollController

Protected scrollController: ScrollController

Inherited from

SetRunway.scrollController

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:32


selectedRunway

Protected selectedRunway: undefined | OneWayRunway = undefined

Inherited from

SetRunway.selectedRunway

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SetRunway/SetRunway.tsx:14


store

Protected Readonly store: SetRunwayStore

Inherited from

SetRunway.store

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SetRunway/SetRunway.tsx:12


viewContainerRef

Protected Readonly viewContainerRef: NodeReference<HTMLDivElement>

Inherited from

SetRunway.viewContainerRef

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:32


viewResult

viewResult: undefined | OneWayRunway

Inherited from

SetRunway.viewResult

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:34

Methods

accept

accept(result?, closeView?): void

Confirms the view result and closes the view.

Parameters

NameTypeDefault valueDescription
result?OneWayRunwayundefinedProvide the view result if not already set.
closeViewbooleantrueIndicates if the view should be closed after confirming the result.

Returns

void

Inherited from

SetRunway.accept

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:108


blur

blur(): void

Method to unfocus this control group

Returns

void

Inherited from

SetRunway.blur

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:71


buildRunwayMenuItem

buildRunwayMenuItem(runway, index): ContextMenuItemDefinition

Builds a runway menu item definition for a runway.

Parameters

NameTypeDescription
runwayOneWayRunwayA runway.
indexnumberThe index of the item in the menu.

Returns

ContextMenuItemDefinition

a menu item definition for the runway.

Inherited from

SetRunway.buildRunwayMenuItem

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SetRunway/SetRunway.tsx:67


close

close(quickclose?): void

Closes the view.

Parameters

NameTypeDefault valueDescription
quickclosebooleanfalsebool stating whether to quickclose the child.

Returns

void

Inherited from

SetRunway.close

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:65


destroy

destroy(): void

Destroys this component.

Returns

void

Inherited from

SetRunway.destroy

Defined in

sdk/components/FSComponent.ts:98


focus

focus(dir?): void

Method to focus this control group

Parameters

NameTypeDefault valueDescription
dirEntryDirection'top'The direction of entry.

Returns

void

Inherited from

SetRunway.focus

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:61


getContext

getContext(context): never

Gets a context data subscription from the context collection.

Parameters

NameTypeDescription
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

SetRunway.getContext

Defined in

sdk/components/FSComponent.ts:106


getHighlightElement

getHighlightElement(): null | Element

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

Returns

null | Element

null

Inherited from

SetRunway.getHighlightElement

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:125


getIsFocusable

getIsFocusable(): boolean

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

Returns

boolean

true

Inherited from

SetRunway.getIsFocusable

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:88


getIsFocused

getIsFocused(): boolean

Method to check if this UiControlGroup is in focus

Returns

boolean

true if the control group is in focus, false otherwise

Inherited from

SetRunway.getIsFocused

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:80


notifyViewOpened

notifyViewOpened(): void

Notifies subscribers that the view has been opened.

Returns

void

Inherited from

SetRunway.notifyViewOpened

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:131


onAfterRender

onAfterRender(node): void

A callback that is called after the component is rendered.

Parameters

NameTypeDescription
nodeVNodeThe component's VNode.

Returns

void

Inherited from

SetRunway.onAfterRender

Defined in

sdk/components/FSComponent.ts:87


onBeforeRender

onBeforeRender(): void

Returns

void

Inherit Doc

Inherited from

SetRunway.onBeforeRender

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:51


onBlurred

onBlurred(): void

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

Returns

void

Inherited from

SetRunway.onBlurred

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:244


onCLRPressed

onCLRPressed(): boolean

This method is called when a CLR button event occurs.

Returns

boolean

whether the event was handled.

Inherited from

SetRunway.onCLRPressed

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SetRunway/SetRunway.tsx:46


onEnterPressed

onEnterPressed(): boolean

This method is called when an Enter button event occurs.

Returns

boolean

whether the event was handled.

Inherited from

SetRunway.onEnterPressed

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SetRunway/SetRunway.tsx:37


onFocused

onFocused(): void

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

Returns

void

Inherited from

SetRunway.onFocused

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:237


onInputDataSet

onInputDataSet(input): void

Method to be overridden by view inheriting UiView to do something when the input data is set.

Parameters

NameTypeDescription
inputundefined | AirportFacilityThe data that was set.

Returns

void

Inherited from

SetRunway.onInputDataSet

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SetRunway/SetRunway.tsx:17


onInteractionEvent

onInteractionEvent(evt): boolean

Handler for interaction events to be handled by the view.

Parameters

NameTypeDescription
evtFmsHEventThe HEvenet.

Returns

boolean

true if the event was handled in this group

Inherited from

SetRunway.onInteractionEvent

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SetRunway/SetRunway.tsx:23


onRunwaySelected

onRunwaySelected(index, runway): void

A callback which is called when a runway is selected.

Parameters

NameTypeDescription
indexnumberThe index of the selection.
runwayOneWayRunwayThe runway which was selected.

Returns

void

Inherited from

SetRunway.onRunwaySelected

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SetRunway/SetRunway.tsx:57


onScrollToggled

onScrollToggled(enabled): void

A method called when the control group scroll is toggled.

Parameters

NameTypeDescription
enabledbooleanif the scroll is enabled.

Returns

void

Inherited from

SetRunway.onScrollToggled

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:97


onViewClosed

onViewClosed(): void

Method to be overridden by view inheriting UiView to do something when the dialog opens.

Returns

void

Inherited from

SetRunway.onViewClosed

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:184


onViewOpened

onViewOpened(): void

Method to be overridden by view inheriting UiView to do something when the view opens.

Returns

void

Inherited from

SetRunway.onViewOpened

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:169


onViewPaused

onViewPaused(): void

Method to be overridden by view inheriting UiView to do something when the dialog opens.

Returns

void

Inherited from

SetRunway.onViewPaused

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:179


onViewResumed

onViewResumed(): void

Method to be overridden by view inheriting UiView to do something when the dialog opens.

Returns

void

Inherited from

SetRunway.onViewResumed

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:174


open

open(isSubView, zIndex?): void

Shows the view.

Parameters

NameTypeDescription
isSubViewbooleanWhether the view is being displayed as a subview.
zIndex?numberThe z-index to assign on the view container.

Returns

void

Inherited from

SetRunway.open

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:47


pause

pause(): void

Pauses the view (usually only called by ViewService).

Returns

void

Inherited from

SetRunway.pause

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:201


processHEvent

processHEvent(evt): boolean

Handles HEvents and routes them to the subdialog when existant.

Parameters

NameTypeDescription
evtFmsHEventThe received event.

Returns

boolean

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

Inherited from

SetRunway.processHEvent

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:134


processScrollEvent

processScrollEvent(evt): boolean

Attempts to handle scroll events.

Parameters

NameTypeDescription
evtFmsHEventThe received event.

Returns

boolean

whether the event was handled.

Inherited from

SetRunway.processScrollEvent

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:119


register

register(ctrl, unregister?): void

Register/Unregisters a UiControl with the scroll controller.

Parameters

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

Returns

void

Inherited from

SetRunway.register

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:226


render

render(): VNode

Renders the component.

Returns

VNode

The component VNode.

Overrides

SetRunway.render

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/SetRunway/MFDSetRunway.tsx:18


resume

resume(): void

Resumes the view (usually only called by ViewService).

Returns

void

Inherited from

SetRunway.resume

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:208


routeEventToControl

routeEventToControl(evt, control): boolean

Routes an interaction event to a UiControl.

Parameters

NameTypeDescription
evtFmsHEventAn interaction event.
controlUiControl<UiControlProps>The UiControl to which to route the event.

Returns

boolean

Whether the event was handled by the UiControl.

Inherited from

SetRunway.routeEventToControl

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:176


setInput

setInput(input): this

Set data on this view.

Parameters

NameTypeDescription
inputundefined | AirportFacilityThe input data.

Returns

this

This view instance for chain commands.

Inherited from

SetRunway.setInput

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:97


setScrollEnabled

setScrollEnabled(enabled): void

Sets the scroll enabled state

Parameters

NameTypeDescription
enabledbooleanindicating if scrolling should be enabled

Returns

void

Inherited from

SetRunway.setScrollEnabled

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:113


setZIndex

setZIndex(zIndex): void

Sets this view's z-index.

Parameters

NameTypeDescription
zIndexundefined | numberThe new z-indez. If not defined, the view's z-index will be reset.

Returns

void

Inherited from

SetRunway.setZIndex

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:88


toggleScroll

toggleScroll(): void

Toggles the scroll highlighting

Returns

void

Inherited from

SetRunway.toggleScroll

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:104