Skip to main content

Interface: MfdNrstPage<P>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/MfdNrstPage.ts:8

An MFD NRST page.

Extends

Type Parameters

Type ParameterDefault type
P extends MfdPagePropsMfdPageProps

Properties

context?

optional context: [] = undefined

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

The context on this component, if any.

Inherited from

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

MfdPage.contextType


iconSrc

readonly iconSrc: Subscribable<string>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/MfdPage.ts:28

The file path to this page's icon's image asset.

Inherited from

MfdPage.iconSrc


knobLabelState

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

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/MfdPage.ts:31

The bezel rotary knob label state requested by this page.

Inherited from

MfdPage.knobLabelState


props

props: P & ComponentProps

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

The properties of the component.

Inherited from

MfdPage.props


selectedWaypoint

readonly selectedWaypoint: Subscribable<null | Waypoint>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/MfdNrstPage.ts:10

This page's selected waypoint.


title

readonly title: Subscribable<string>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/MfdPage.ts:25

This page's title.

Inherited from

MfdPage.title

Methods

destroy()

destroy(): void

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

Destroys this component.

Returns

void

Inherited from

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

MfdPage.getContext


onAfterRender()

onAfterRender(node): void

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

A callback that is called after the component is rendered.

Parameters

ParameterTypeDescription
nodeVNodeThe component's VNode.

Returns

void

Inherited from

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

MfdPage.onBeforeRender


onClose()

onClose(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/MfdPage.ts:53

Responds to when this page is closed. A page is closed if it is no longer visible.

Returns

void

Inherited from

MfdPage.onClose


onOcclusionChange()

onOcclusionChange(occlusionType): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/MfdPage.ts:78

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

Parameters

ParameterTypeDescription
occlusionTypeUiViewOcclusionTypeThe new occlusion type applied to this page's parent UI view.

Returns

void

Inherited from

MfdPage.onOcclusionChange


onOpen()

onOpen(sizeMode, dimensions): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/MfdPage.ts:48

Responds to when this page is opened. A page is opened if it has been selected, has become active, and is visible.

Parameters

ParameterTypeDescription
sizeModeMfdPageSizeModeThis page's size mode.
dimensionsReadonlyFloat64ArrayThis page's dimensions, as [width, height] in pixels.

Returns

void

Inherited from

MfdPage.onOpen


onPause()

onPause(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/MfdPage.ts:65

Responds to when this page is paused. A page is paused if it is no longer open as the top-most view in its view stack.

Returns

void

Inherited from

MfdPage.onPause


onResize()

onResize(sizeMode, dimensions): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/MfdPage.ts:72

Responds when this page's parent UI view is resized while it is resumed.

Parameters

ParameterTypeDescription
sizeModeMfdPageSizeModeThis page's new size mode.
dimensionsReadonlyFloat64ArrayThis page's new dimensions, as [width, height] in pixels.

Returns

void

Inherited from

MfdPage.onResize


onResume()

onResume(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/MfdPage.ts:59

Responds to when this page is resumed. A page is resumed when it has been opened as part of the top-most view in its view stack.

Returns

void

Inherited from

MfdPage.onResume


onStage()

onStage(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/MfdPage.ts:36

Responds to when this page is staged. A page is staged if it has been selected.

Returns

void

Inherited from

MfdPage.onStage


onUiInteractionEvent()

onUiInteractionEvent(event): boolean

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/UiSystem/UiInteraction.ts:90

Handles a UiInteractionEvent.

Parameters

ParameterTypeDescription
eventUiInteractionEventThe event to handle.

Returns

boolean

Whether the event was handled.

Inherited from

MfdPage.onUiInteractionEvent


onUnstage()

onUnstage(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/MfdPage.ts:41

Responds to when this page is unstaged. A page is unstaged if it is no longer selected.

Returns

void

Inherited from

MfdPage.onUnstage


onUpdate()

onUpdate(time): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/MfdPage.ts:84

Called every update cycle.

Parameters

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

Returns

void

Inherited from

MfdPage.onUpdate


render()

abstract render(): null | VNode

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

Renders the component.

Returns

null | VNode

A JSX element to be rendered.

Inherited from

MfdPage.render