Skip to main content

Class: MFDWptInfo

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/WptInfo/MFDWptInfo.tsx:19

The MFD waypoint info popout.

Extends

Constructors

Constructor

new MFDWptInfo(props): MFDWptInfo

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

Parameters

ParameterType
propsWptInfoProps

Returns

MFDWptInfo

Inherit Doc

Inherited from

WptInfo.constructor

Properties

context?

optional context: [] = undefined

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

The context on this component, if any.

Inherited from

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

WptInfo.contextType


controller

protected readonly controller: WptInfoController

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

Inherited from

WptInfo.controller


focusSubject

protected focusSubject: Subject<boolean>

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

Inherited from

WptInfo.focusSubject


inputData

inputData: Subject<any>

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

Inherited from

WptInfo.inputData


inputSelectedIcao

protected readonly inputSelectedIcao: Subject<string>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:27

Inherited from

WptInfo.inputSelectedIcao


onAccept

onAccept: SubEventInterface<MFDWptInfo, undefined | Facility>

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

Inherited from

WptInfo.onAccept


onClose

onClose: SubEventInterface<MFDWptInfo, void>

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

Inherited from

WptInfo.onClose


onOpen

onOpen: SubEventInterface<MFDWptInfo, void>

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

Inherited from

WptInfo.onOpen


planeHeadingSub

protected readonly planeHeadingSub: Subject<number>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:31

Inherited from

WptInfo.planeHeadingSub


planePosSub

protected readonly planePosSub: GeoPointSubject

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:30

Inherited from

WptInfo.planePosSub


props

props: WptInfoProps & ComponentProps

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

The properties of the component.

Inherited from

WptInfo.props


scrollController

protected scrollController: ScrollController

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

Inherited from

WptInfo.scrollController


selectedWaypointSub

protected readonly selectedWaypointSub: Subject<null | Waypoint>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:29

Inherited from

WptInfo.selectedWaypointSub


store

protected readonly store: WptInfoStore

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

Inherited from

WptInfo.store


unitSettingManager

protected readonly unitSettingManager: UnitsUserSettingManager<UnitsUserSettingTypes>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:41

Inherited from

WptInfo.unitSettingManager


viewContainerRef

protected readonly viewContainerRef: NodeReference<HTMLDivElement>

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

Inherited from

WptInfo.viewContainerRef


viewResult

viewResult: undefined | Facility

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

Inherited from

WptInfo.viewResult

Methods

accept()

accept(result?, closeView?): void

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

Confirms the view result and closes the view.

Parameters

ParameterTypeDefault valueDescription
result?FacilityundefinedProvide the view result if not already set.
closeView?booleantrueIndicates if the view should be closed after confirming the result.

Returns

void

Inherited from

WptInfo.accept


blur()

blur(): void

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

Method to unfocus this control group

Returns

void

Inherited from

WptInfo.blur


close()

close(quickclose): void

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

Closes the view.

Parameters

ParameterTypeDefault valueDescription
quickclosebooleanfalsebool stating whether to quickclose the child.

Returns

void

Inherited from

WptInfo.close


destroy()

destroy(): void

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

Destroys this component.

Returns

void

Inherited from

WptInfo.destroy


focus()

focus(dir): void

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

Method to focus this control group

Parameters

ParameterTypeDefault valueDescription
dirEntryDirection'top'The direction of entry.

Returns

void

Inherited from

WptInfo.focus


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

WptInfo.getContext


getHighlightElement()

getHighlightElement(): null | Element

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

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

Returns

null | Element

null

Inherited from

WptInfo.getHighlightElement


getIsFocusable()

getIsFocusable(): boolean

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

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

Returns

boolean

true

Inherited from

WptInfo.getIsFocusable


getIsFocused()

getIsFocused(): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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

WptInfo.getIsFocused


notifyViewOpened()

protected notifyViewOpened(): void

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

Notifies subscribers that the view has been opened.

Returns

void

Inherited from

WptInfo.notifyViewOpened


onAfterRender()

onAfterRender(node): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/WptInfo/MFDWptInfo.tsx:83

A callback that is called after the component is rendered.

Parameters

ParameterTypeDescription
nodeVNodeThe component's VNode.

Returns

void

Overrides

WptInfo.onAfterRender


onBeforeRender()

onBeforeRender(): void

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

Returns

void

Inherit Doc

Inherited from

WptInfo.onBeforeRender


onBlurred()

protected onBlurred(): void

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

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

Returns

void

Inherited from

WptInfo.onBlurred


onEnterPressed()

protected onEnterPressed(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:59

Executes actions when Enter is pressed.

Returns

void

Inherited from

WptInfo.onEnterPressed


onFocused()

protected onFocused(): void

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

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

Returns

void

Inherited from

WptInfo.onFocused


onInputDataSet()

protected onInputDataSet(input): void

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

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

Parameters

ParameterTypeDescription
inputanyThe data that was set.

Returns

void

Inherited from

WptInfo.onInputDataSet


onInteractionEvent()

onInteractionEvent(evt): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/WptInfo/MFDWptInfo.tsx:94

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

Overrides

WptInfo.onInteractionEvent


onScrollToggled()

protected onScrollToggled(enabled): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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

WptInfo.onScrollToggled


onViewClosed()

protected onViewClosed(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/WptInfo/MFDWptInfo.tsx:165

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

Returns

void

Overrides

WptInfo.onViewClosed


onViewOpened()

protected onViewOpened(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/WptInfo/MFDWptInfo.tsx:158

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

Returns

void

Overrides

WptInfo.onViewOpened


onViewPaused()

protected onViewPaused(): void

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

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

Returns

void

Inherited from

WptInfo.onViewPaused


onViewResumed()

protected onViewResumed(): void

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

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

Returns

void

Inherited from

WptInfo.onViewResumed


onWptDupDialogAccept()

protected onWptDupDialogAccept(facility): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:78

A callback which is called when a waypoint duplicate dialog invoked by this view accepts.

Parameters

ParameterTypeDescription
facilitynull | FacilityThe facility returned by the waypoint duplicate dialog.

Returns

void

Inherited from

WptInfo.onWptDupDialogAccept


onWptDupDialogClose()

protected onWptDupDialogClose(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/WptInfo/MFDWptInfo.tsx:153

A callback which is called when a waypoint duplicate dialog invoked by this view closes.

Returns

void

Overrides

WptInfo.onWptDupDialogClose


open()

open(isSubView, zIndex?): void

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

Shows the view.

Parameters

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

Returns

void

Inherited from

WptInfo.open


pause()

pause(): void

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

Pauses the view (usually only called by ViewService).

Returns

void

Inherited from

WptInfo.pause


processHEvent()

processHEvent(evt): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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

WptInfo.processHEvent


processScrollEvent()

protected processScrollEvent(evt): boolean

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

Attempts to handle scroll events.

Parameters

ParameterTypeDescription
evtFmsHEventThe received event.

Returns

boolean

whether the event was handled.

Inherited from

WptInfo.processScrollEvent


register()

protected register(ctrl, unregister): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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

WptInfo.register


render()

render(): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/WptInfo/MFDWptInfo.tsx:174

Renders the component.

Returns

VNode

A JSX element to be rendered.

Overrides

WptInfo.render


renderBearing()

protected renderBearing(cssClass?): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:144

Renders a component which displays the bearing to the store's selected waypoint.

Parameters

ParameterTypeDescription
cssClass?stringCSS class(es) to apply to the root of the component.

Returns

VNode

a component which displays the bearing to the store's selected waypoint, as a VNode.

Inherited from

WptInfo.renderBearing


renderDistance()

protected renderDistance(cssClass?): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:159

Renders a component which displays the distance to the store's selected waypoint.

Parameters

ParameterTypeDescription
cssClass?stringCSS class(es) to apply to the root of the component.

Returns

VNode

a component which displays the distance to the store's selected waypoint, as a VNode.

Inherited from

WptInfo.renderDistance


renderWaypointInput()

protected renderWaypointInput(): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:123

Renders a waypoint input component.

Returns

VNode

a waypoint input component, as a VNode.

Inherited from

WptInfo.renderWaypointInput


resume()

resume(): void

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

Resumes the view (usually only called by ViewService).

Returns

void

Inherited from

WptInfo.resume


routeEventToControl()

protected routeEventToControl(evt, control): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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

WptInfo.routeEventToControl


setInput()

setInput(input): this

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

Set data on this view.

Parameters

ParameterTypeDescription
inputanyThe input data.

Returns

this

This view instance for chain commands.

Inherited from

WptInfo.setInput


setScrollEnabled()

setScrollEnabled(enabled): void

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

Sets the scroll enabled state

Parameters

ParameterTypeDescription
enabledbooleanindicating if scrolling should be enabled

Returns

void

Inherited from

WptInfo.setScrollEnabled


setZIndex()

setZIndex(zIndex): void

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

Sets this view's z-index.

Parameters

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

Returns

void

Inherited from

WptInfo.setZIndex


toggleScroll()

toggleScroll(): void

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

Toggles the scroll highlighting

Returns

void

Inherited from

WptInfo.toggleScroll