Skip to main content

Class: PFDDirectTo

The PFD direct-to popout.

Hierarchy

Constructors

constructor

new PFDDirectTo(props): PFDDirectTo

Parameters

NameType
propsDirectToProps

Returns

PFDDirectTo

Inherit Doc

Inherited from

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

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

DirectTo.contextType

Defined in

sdk/components/FSComponent.ts:67


controller

Protected Readonly controller: DirectToController

Inherited from

DirectTo.controller

Defined in

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


courseOnesRef

Protected Readonly courseOnesRef: NodeReference<NumberInput>

Inherited from

DirectTo.courseOnesRef

Defined in

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


courseTensRef

Protected Readonly courseTensRef: NodeReference<NumberInput>

Inherited from

DirectTo.courseTensRef

Defined in

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


focusSubject

Protected focusSubject: Subject<boolean>

Inherited from

DirectTo.focusSubject

Defined in

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


inputData

inputData: Subject<undefined | DirectToInputData>

Inherited from

DirectTo.inputData

Defined in

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


isOpen

Protected isOpen: boolean = false

Inherited from

DirectTo.isOpen

Defined in

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


onAccept

onAccept: SubEventInterface<PFDDirectTo, undefined>

Inherited from

DirectTo.onAccept

Defined in

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


onClose

onClose: SubEventInterface<PFDDirectTo, void>

Inherited from

DirectTo.onClose

Defined in

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


onOpen

onOpen: SubEventInterface<PFDDirectTo, void>

Inherited from

DirectTo.onOpen

Defined in

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


planeHeadingSub

Protected Readonly planeHeadingSub: Subject<number>

Inherited from

DirectTo.planeHeadingSub

Defined in

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


planePosSub

Protected Readonly planePosSub: GeoPointSubject

Inherited from

DirectTo.planePosSub

Defined in

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


props

props: DirectToProps & ComponentProps

The properties of the component.

Inherited from

DirectTo.props

Defined in

sdk/components/FSComponent.ts:61


scrollController

Protected scrollController: ScrollController

Inherited from

DirectTo.scrollController

Defined in

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


store

Protected Readonly store: DirectToStore

Inherited from

DirectTo.store

Defined in

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


unitSettingManager

Protected Readonly unitSettingManager: UnitsUserSettingManager<UnitsUserSettingTypes>

Inherited from

DirectTo.unitSettingManager

Defined in

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


viewContainerRef

Protected Readonly viewContainerRef: NodeReference<HTMLDivElement>

Inherited from

DirectTo.viewContainerRef

Defined in

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


viewResult

viewResult: undefined

Inherited from

DirectTo.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?undefinedundefinedProvide the view result if not already set.
closeViewbooleantrueIndicates if the view should be closed after confirming the result.

Returns

void

Inherited from

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

DirectTo.blur

Defined in

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


close

close(quickclose?): void

Closes the view.

Parameters

NameTypeDefault valueDescription
quickclosebooleanfalsebool stating whether to quickclose the child.

Returns

void

Inherited from

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

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

DirectTo.focus

Defined in

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


getActivateScrollIndex

getActivateScrollIndex(): number

Method to get the activate scroll index for this instance.

Returns

number

The Activate Scroll Index.

Inherited from

DirectTo.getActivateScrollIndex

Defined in

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


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

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

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

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

DirectTo.getIsFocused

Defined in

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


gotoActivateButton

gotoActivateButton(): void

Returns

void

Inherit Doc

Inherited from

DirectTo.gotoActivateButton

Defined in

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


notifyViewOpened

notifyViewOpened(): void

Notifies subscribers that the view has been opened.

Returns

void

Inherited from

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

DirectTo.onAfterRender

Defined in

sdk/components/FSComponent.ts:87


onBeforeRender

onBeforeRender(): void

Returns

void

Inherit Doc

Inherited from

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

DirectTo.onBlurred

Defined in

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


onFocused

onFocused(): void

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

Returns

void

Inherited from

DirectTo.onFocused

Defined in

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


onHoldButtonPressed

onHoldButtonPressed(): void

Callback for when the Hold button is pressed.

Returns

void

Inherited from

DirectTo.onHoldButtonPressed

Defined in

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


onInputDataSet

onInputDataSet(directToInputData): void

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

Parameters

NameTypeDescription
directToInputDataundefined | DirectToInputDataThe data that was set.

Returns

void

Inherited from

DirectTo.onInputDataSet

Defined in

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


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

DirectTo.onInteractionEvent

Defined in

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


onLoadExecuted

onLoadExecuted(): void

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

Returns

void

Inherited from

DirectTo.onLoadExecuted

Defined in

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


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

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

DirectTo.onViewClosed

Defined in

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


onViewOpened

onViewOpened(): void

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

Returns

void

Inherited from

DirectTo.onViewOpened

Defined in

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


onViewPaused

onViewPaused(): void

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

Returns

void

Inherited from

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

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

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

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

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

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

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

A JSX element to be rendered.

Overrides

DirectTo.render

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/PFD/Components/UI/DirectTo/PFDDirectTo.tsx:13


renderBearing

renderBearing(cssClass?): VNode

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

Parameters

NameTypeDescription
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

DirectTo.renderBearing

Defined in

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


renderCourseInput

renderCourseInput(cssClass?): VNode

Renders a component which allows the user to input the direct-to course.

Parameters

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

Returns

VNode

A component which allows the user to input the direct-to course, as a VNode.

Inherited from

DirectTo.renderCourseInput

Defined in

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


renderDistance

renderDistance(cssClass?): VNode

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

Parameters

NameTypeDescription
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

DirectTo.renderDistance

Defined in

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


renderWaypointInput

renderWaypointInput(): VNode

Renders a waypoint input component.

Returns

VNode

a waypoint input component, as a VNode.

Inherited from

DirectTo.renderWaypointInput

Defined in

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


resume

resume(): void

Resumes the view (usually only called by ViewService).

Returns

void

Inherited from

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

DirectTo.routeEventToControl

Defined in

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


setCourse

setCourse(): void

Sets the course subject based on the number input fields.

Returns

void

Inherited from

DirectTo.setCourse

Defined in

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


setInput

setInput(input): this

Set data on this view.

Parameters

NameTypeDescription
inputundefined | DirectToInputDataThe input data.

Returns

this

This view instance for chain commands.

Inherited from

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

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

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

DirectTo.toggleScroll

Defined in

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