Skip to main content

Class: WaypointInfoInfo

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:82

A waypoint info display information component, which displays a map and summary information about a waypoint.

Extends

Implements

Constructors

Constructor

new WaypointInfoInfo(props): WaypointInfoInfo

Defined in: src/sdk/components/FSComponent.ts:73

Creates an instance of a DisplayComponent.

Parameters

ParameterTypeDescription
propsWaypointInfoInfoPropsThe propertis of the component.

Returns

WaypointInfoInfo

Inherited from

DisplayComponent<WaypointInfoInfoProps>.constructor

Properties

context?

optional context: [] = undefined

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

The context on this component, if any.

Inherited from

DisplayComponent.context


contextType?

readonly optional contextType: readonly [] = undefined

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

The type of context for this component, if any.

Inherited from

DisplayComponent.contextType


knobLabelState

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

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:185

The bezel rotary knob label state requested by this component.


props

props: WaypointInfoInfoProps & ComponentProps

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

The properties of the component.

Inherited from

DisplayComponent.props

Methods

destroy()

destroy(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:523

Returns

void

Inherit Doc

Overrides

DisplayComponent.destroy


getContext()

protected getContext(context): never

Defined in: src/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

DisplayComponent.getContext


onAfterRender()

onAfterRender(thisNode): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:200

Parameters

ParameterType
thisNodeVNode

Returns

void

Inherit Doc

Overrides

DisplayComponent.onAfterRender


onBeforeRender()

onBeforeRender(): void

Defined in: src/sdk/components/FSComponent.ts:80

A callback that is called before the component is rendered.

Returns

void

Inherited from

DisplayComponent.onBeforeRender


onUiInteractionEvent()

onUiInteractionEvent(event): boolean

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:297

Handles a UiInteractionEvent.

Parameters

ParameterTypeDescription
eventUiInteractionEventThe event to handle.

Returns

boolean

Whether the event was handled.

Implementation of

UiInteractionHandler.onUiInteractionEvent


pause()

pause(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:234

Pauses this component.

Returns

void


render()

render(): null | VNode

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:447

Returns

null | VNode

Inherit Doc

Overrides

DisplayComponent.render


resume()

resume(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:216

Resumes this component.

Returns

void


setSize()

setSize(width, height): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:260

Sets the size of this component.

Parameters

ParameterTypeDescription
widthnumberThe new width, in pixels.
heightnumberThe new height, in pixels.

Returns

void


update()

update(time): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:281

Updates this component. Has no effect if this component is paused.

Parameters

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

Returns

void