Skip to main content

Class: WaypointInfo

A component which displays waypoint information.

Hierarchy

Implements

Constructors

constructor

new WaypointInfo(props): WaypointInfo

Creates an instance of a DisplayComponent.

Parameters

NameTypeDescription
propsWaypointInfoPropsThe propertis of the component.

Returns

WaypointInfo

Inherited from

DisplayComponent<WaypointInfoProps>.constructor

Defined in

src/sdk/components/FSComponent.ts:73

Properties

context

Optional context: [] = undefined

The context on this component, if any.

Inherited from

DisplayComponent.context

Defined in

src/sdk/components/FSComponent.ts:64


contextType

Optional Readonly contextType: readonly [] = undefined

The type of context for this component, if any.

Inherited from

DisplayComponent.contextType

Defined in

src/sdk/components/FSComponent.ts:67


knobLabelState

Readonly knobLabelState: SubscribableMap<UiKnobId, string> & Subscribable<UiKnobRequestedLabelState>

The bezel rotary knob label state requested by this display.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:171


props

props: WaypointInfoProps & ComponentProps

The properties of the component.

Inherited from

DisplayComponent.props

Defined in

src/sdk/components/FSComponent.ts:61

Methods

destroy

destroy(): void

Returns

void

Inherit Doc

Overrides

DisplayComponent.destroy

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:693


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

DisplayComponent.getContext

Defined in

src/sdk/components/FSComponent.ts:106


onAfterRender

onAfterRender(thisNode): void

Parameters

NameType
thisNodeVNode

Returns

void

Inherit Doc

Overrides

DisplayComponent.onAfterRender

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:178


onBeforeRender

onBeforeRender(): void

A callback that is called before the component is rendered.

Returns

void

Inherited from

DisplayComponent.onBeforeRender

Defined in

src/sdk/components/FSComponent.ts:80


onClose

onClose(): void

Responds to when this display's parent view is closed.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:234


onOcclusionChange

onOcclusionChange(occlusionType): void

Responds to when the occlusion type applied to this display's parent view changes while the view is open.

Parameters

NameTypeDescription
occlusionTypeUiViewOcclusionTypeThe new occlusion type applied to this display's parent view.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:349


onOpen

onOpen(sizeMode, dimensions): void

Responds to when this display's parent view is opened.

Parameters

NameTypeDescription
sizeModeUiViewSizeModeThe new size mode of this display's parent view.
dimensionsReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>The new dimensions of this display, as [width, height] in pixels.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:219


onPause

onPause(): void

Responds to when this display's parent view is paused.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:262


onResize

onResize(sizeMode, dimensions): void

Responds to when this display's parent view is resized while open.

Parameters

NameTypeDescription
sizeModeUiViewSizeModeThe new size mode of this display's parent view.
dimensionsReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>The new dimensions of this display, as [width, height] in pixels.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:277


onResume

onResume(): void

Responds to when this display's parent view is resumed.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:248


onUiInteractionEvent

onUiInteractionEvent(event): boolean

Handles a UiInteractionEvent.

Parameters

NameTypeDescription
eventUiInteractionEventThe event to handle.

Returns

boolean

Whether the event was handled.

Implementation of

UiInteractionHandler.onUiInteractionEvent

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:372


onUpdate

onUpdate(time): void

Responds to when this display's parent view is updated.

Parameters

NameTypeDescription
timenumberThe current real (operating system) time, as a Javascript timestamp.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:366


render

render(): VNode

Returns

VNode

Inherit Doc

Overrides

DisplayComponent.render

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:504


selectWaypoint

selectWaypoint(waypoint): void

Selects a waypoint for this display.

Parameters

NameTypeDescription
waypointnull | FacilityWaypoint<Facility>The waypoint to select, or null to clear the selected waypoint.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:210