Skip to main content

Class: GNSS1POSPage

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/GNSS1POSPage.ts:8

GNSS1 POS page

Extends​

Constructors​

Constructor​

new GNSS1POSPage(bus, screen, props, fms, baseInstrument, renderCallback): GNSS1POSPage

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21FmcPage.ts:21

Ctor

Parameters​

ParameterTypeDescription
busEventBusthe event bus
screenWT21FmcScreenthe FMC screen instance
propsnullthe props to create the page with
fmsWT21Fmsthe fms to use
baseInstrumentWT21_FMC_Instrumentthe base FMC instrument
renderCallbackFmcRenderCallbackthe render callback

Returns​

GNSS1POSPage

Inherited from​

WT21FmcPage.constructor

Properties​

baseInstrument​

readonly baseInstrument: WT21_FMC_Instrument

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21FmcPage.ts:27

Deprecated​

Inherited from​

WT21FmcPage.baseInstrument


bus​

readonly bus: EventBus

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21FmcPage.ts:22

the event bus

Inherited from​

WT21FmcPage.bus


clockConsumer​

protected clockConsumer: Consumer<number>

Defined in: sdk/fmc/AbstractFmcPage.ts:70

Inherited from​

WT21FmcPage.clockConsumer


fms​

readonly fms: WT21Fms

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21FmcPage.ts:25

the fms to use

Inherited from​

WT21FmcPage.fms


isInitialized​

isInitialized: boolean = false

Defined in: sdk/fmc/AbstractFmcPage.ts:98

Inherited from​

WT21FmcPage.isInitialized


memorizedComponents​

readonly memorizedComponents: [null | FmcComponent<FmcComponentOptions>, null | FmcComponent<FmcComponentOptions>, null | FmcComponent<FmcComponentOptions>][] = []

Defined in: sdk/fmc/AbstractFmcPage.ts:45

Inherited from​

WT21FmcPage.memorizedComponents


PagingFormat​

protected readonly PagingFormat: Formatter<readonly [number, number]>

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21FmcPage.ts:35

Inherited from​

WT21FmcPage.PagingFormat


PagingIndicator​

readonly PagingIndicator: DisplayField<readonly [number, number]>

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21FmcPage.ts:44

Inherited from​

WT21FmcPage.PagingIndicator


params​

readonly params: Map<any, any>

Defined in: sdk/fmc/AbstractFmcPage.ts:51

Inherited from​

WT21FmcPage.params


renderCallback​

readonly renderCallback: FmcRenderCallback

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21FmcPage.ts:28

the render callback

Inherited from​

WT21FmcPage.renderCallback


screen​

readonly screen: WT21FmcScreen

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21FmcPage.ts:23

the FMC screen instance

Inherited from​

WT21FmcPage.screen


lifecyclePolicy​

static lifecyclePolicy: FmcPageLifecyclePolicy = FmcPageLifecyclePolicy.Singleton

Defined in: sdk/fmc/AbstractFmcPage.ts:37

Configures the FmcPageLifecyclePolicy for this page

Inherited from​

WT21FmcPage.lifecyclePolicy

Accessors​

props​

Get Signature​

get props(): P

Defined in: sdk/fmc/AbstractFmcPage.ts:62

Obtains the current value of the page's props

Throws​

if the props have not yet been initialised

Returns​

P

the props value

Inherited from​

WT21FmcPage.props

Methods​

acceptPageExtension()​

acceptPageExtension(extension): void

Defined in: sdk/fmc/AbstractFmcPage.ts:316

Accepts a page extension

Parameters​

ParameterTypeDescription
extensionFmcPageExtension<GNSS1POSPage>the page extension

Returns​

void

Inherited from​

WT21FmcPage.acceptPageExtension


addBinding()​

addBinding(binding): void

Defined in: sdk/fmc/AbstractFmcPage.ts:361

Registers a subscription or a ConsumerSubject on the page. This enables the page to manage the lifecycle of all subscriptions that are used within it, for example by pausing them whenever the page is out of view, or destroying them when the page is destroyed.

Parameters​

ParameterTypeDescription
bindingSubscription | ConsumerSubject<any>a subscription

Returns​

void

Inherited from​

WT21FmcPage.addBinding


clockHandler()​

protected clockHandler(d): void

Defined in: sdk/fmc/AbstractFmcPage.ts:90

Handles when update/refresh of the FMCPage based on clock input

Parameters​

ParameterTypeDescription
dnumberis the Clock Value from the Event Bus

Returns​

void

Inherited from​

WT21FmcPage.clockHandler


destroy()​

destroy(): void

Defined in: sdk/fmc/AbstractFmcPage.ts:194

Destroys the page and calls appropriate event handlers

Returns​

void

Inherited from​

WT21FmcPage.destroy


handleLineSelectKey()​

handleLineSelectKey(event): Promise<string | boolean>

Defined in: sdk/fmc/AbstractFmcPage.ts:372

Handles a line select key received by the FMC, before passing it on to components

Parameters​

ParameterTypeDescription
eventLineSelectKeyEventthe LSK event

Returns​

Promise<string | boolean>

a Promise that resolves to a boolean or string

Inherited from​

WT21FmcPage.handleLineSelectKey


handleScrolling()​

handleScrolling(event): Promise<string | boolean>

Defined in: sdk/fmc/AbstractFmcPage.ts:412

Handles a scrolling event received by the FMC, before passing it on to components

Parameters​

ParameterTypeDescription
event"pageLeft" | "pageRight" | "pageUp" | "pageDown"the scrolling event

Returns​

Promise<string | boolean>

a Promise that resolves to a boolean or string

Inherited from​

WT21FmcPage.handleScrolling


init()​

init(): void

Defined in: sdk/fmc/AbstractFmcPage.ts:105

Initializes the page.

Use this for setting up subscriptions and such.

Returns​

void

Inherited from​

WT21FmcPage.init


initialRender()​

initialRender(): void

Defined in: sdk/fmc/AbstractFmcPage.ts:231

Initial render function

Returns​

void

Throws​

If a PositionedFmcColumn attempts to return an FmcRenderTemplate from its render function (only strings are allowed).

Inherited from​

WT21FmcPage.initialRender


invalidate()​

invalidate(): void

Defined in: sdk/fmc/AbstractFmcPage.ts:223

Invalidates the render and sets the component into the dirty state

Returns​

void

Inherited from​

WT21FmcPage.invalidate


onDestroy()​

protected onDestroy(): void

Defined in: sdk/fmc/AbstractFmcPage.ts:216

Destroy lifecycle hook

Returns​

void

Inherited from​

WT21FmcPage.onDestroy


onHandleScrolling()​

protected onHandleScrolling(event): Promise<string | boolean>

Defined in: sdk/fmc/AbstractFmcPage.ts:431

Handles a scrolling event received by the FMC, before passing it on to components

Parameters​

ParameterTypeDescription
event"pageLeft" | "pageRight" | "pageUp" | "pageDown"the scrolling event

Returns​

Promise<string | boolean>

a Promise that resolves to a boolean or string

Inherited from​

WT21FmcPage.onHandleScrolling


onHandleSelectKey()​

protected onHandleSelectKey(event): Promise<string | boolean>

Defined in: sdk/fmc/AbstractFmcPage.ts:401

Handles a line select key received by the FMC, before passing it on to components

Parameters​

ParameterTypeDescription
eventLineSelectKeyEventthe LSK event

Returns​

Promise<string | boolean>

a Promise that resolves to a boolean or string

Inherited from​

WT21FmcPage.onHandleSelectKey


onInit()​

protected onInit(): void

Defined in: sdk/fmc/AbstractFmcPage.ts:118

Init lifecycle hook

Returns​

void

Inherited from​

WT21FmcPage.onInit


onPageButtonPressed()​

onPageButtonPressed(): void

Defined in: sdk/fmc/AbstractFmcPage.ts:187

Is called when the page button for the current page is pressed while already on that page.

Returns​

void

Inherited from​

WT21FmcPage.onPageButtonPressed


onPause()​

protected onPause(): void

Defined in: sdk/fmc/AbstractFmcPage.ts:147

Pause lifecycle hook

Returns​

void

Inherited from​

WT21FmcPage.onPause


onResume()​

protected onResume(): void

Defined in: sdk/fmc/AbstractFmcPage.ts:182

Resume lifecycle hook

Returns​

void

Inherited from​

WT21FmcPage.onResume


pause()​

pause(): void

Defined in: sdk/fmc/AbstractFmcPage.ts:125

Pauses the page and calls appropriate event handlers

Returns​

void

Inherited from​

WT21FmcPage.pause


render()​

render(): FmcRenderTemplate[]

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/GNSS1POSPage.ts:10

Returns​

FmcRenderTemplate[]

Inherit Doc​

Overrides​

WT21FmcPage.render


resume()​

resume(props?): void

Defined in: sdk/fmc/AbstractFmcPage.ts:156

Resumes the page and calls appropriate event handlers

Parameters​

ParameterTypeDescription
props?nullthe props to pass in to the page, if applicable

Returns​

void

Inherited from​

WT21FmcPage.resume


isPositionedFmcColumn()​

static isPositionedFmcColumn(column): column is PositionedFmcColumn

Defined in: sdk/fmc/AbstractFmcPage.ts:325

Tests whether an FmcRenderTemplateColumn is a PositionedFmcColumn.

Parameters​

ParameterTypeDescription
columnFmcRenderTemplateColumnThe FmcRenderTemplateColumn to test.

Returns​

column is PositionedFmcColumn

Whether the column is a PositionedFmcColumn.

Inherited from​

WT21FmcPage.isPositionedFmcColumn


isRenderedPositionedFmcColumn()​

static isRenderedPositionedFmcColumn(column): column is RenderedPositionedFmcColumn

Defined in: sdk/fmc/AbstractFmcPage.ts:346

Tests whether the input is a RenderedPositionedFmcColumn.

Parameters​

ParameterTypeDescription
columnanyThe input to test.

Returns​

column is RenderedPositionedFmcColumn

Whether the column is a RenderedPositionedFmcColumn.

Inherited from​

WT21FmcPage.isRenderedPositionedFmcColumn