Class: VNAVSetupPage
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/VNAVSetupPage.ts:9
VNAV Setup page
Extends
Constructors
Constructor
new VNAVSetupPage(
bus
,screen
,props
,fms
,baseInstrument
,renderCallback
):VNAVSetupPage
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21FmcPage.ts:21
Ctor
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | the event bus |
screen | WT21FmcScreen | the FMC screen instance |
props | null | the props to create the page with |
fms | WT21Fms | the fms to use |
baseInstrument | WT21_FMC_Instrument | the base FMC instrument |
renderCallback | FmcRenderCallback | the render callback |
Returns
VNAVSetupPage
Inherited from
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
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
clockConsumer
protected
clockConsumer:Consumer
<number
>
Defined in: sdk/fmc/AbstractFmcPage.ts:70
Inherited from
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
isInitialized
isInitialized:
boolean
=false
Defined in: sdk/fmc/AbstractFmcPage.ts:98
Inherited from
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
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
params
readonly
params:Map
<any
,any
>
Defined in: sdk/fmc/AbstractFmcPage.ts:51
Inherited from
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
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
lifecyclePolicy
static
lifecyclePolicy:FmcPageLifecyclePolicy
=FmcPageLifecyclePolicy.Singleton
Defined in: sdk/fmc/AbstractFmcPage.ts:37
Configures the FmcPageLifecyclePolicy for this page
Inherited from
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
Methods
acceptPageExtension()
acceptPageExtension(
extension
):void
Defined in: sdk/fmc/AbstractFmcPage.ts:316
Accepts a page extension
Parameters
Parameter | Type | Description |
---|---|---|
extension | FmcPageExtension <VNAVSetupPage > | 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
Parameter | Type | Description |
---|---|---|
binding | Subscription | ConsumerSubject <any > | a subscription |
Returns
void
Inherited from
clockHandler()
protected
clockHandler(d
):void
Defined in: sdk/fmc/AbstractFmcPage.ts:90
Handles when update/refresh of the FMCPage based on clock input
Parameters
Parameter | Type | Description |
---|---|---|
d | number | is the Clock Value from the Event Bus |
Returns
void
Inherited from
destroy()
destroy():
void
Defined in: sdk/fmc/AbstractFmcPage.ts:194
Destroys the page and calls appropriate event handlers
Returns
void
Inherited from
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
Parameter | Type | Description |
---|---|---|
event | LineSelectKeyEvent | the 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
Parameter | Type | Description |
---|---|---|
event | "pageLeft" | "pageRight" | "pageUp" | "pageDown" | the scrolling event |
Returns
Promise
<string
| boolean
>
a Promise that resolves to a boolean or string
Inherited from
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
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 string
s are allowed).
Inherited from
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
onDestroy()
protected
onDestroy():void
Defined in: sdk/fmc/AbstractFmcPage.ts:216
Destroy lifecycle hook
Returns
void
Inherited from
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
Parameter | Type | Description |
---|---|---|
event | "pageLeft" | "pageRight" | "pageUp" | "pageDown" | the scrolling event |
Returns
Promise
<string
| boolean
>
a Promise that resolves to a boolean or string
Inherited from
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
Parameter | Type | Description |
---|---|---|
event | LineSelectKeyEvent | the LSK event |
Returns
Promise
<string
| boolean
>
a Promise that resolves to a boolean or string
Inherited from
onInit()
protected
onInit():void
Defined in: sdk/fmc/AbstractFmcPage.ts:118
Init lifecycle hook
Returns
void
Inherited from
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
onResume()
protected
onResume():void
Defined in: sdk/fmc/AbstractFmcPage.ts:182
Resume lifecycle hook
Returns
void
Inherited from
pause()
pause():
void
Defined in: sdk/fmc/AbstractFmcPage.ts:125
Pauses the page and calls appropriate event handlers
Returns
void
Inherited from
render()
render():
FmcRenderTemplate
[]
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/VNAVSetupPage.ts:109
Returns
FmcRenderTemplate
[]
Inherit Doc
Overrides
resume()
resume(
props?
):void
Defined in: sdk/fmc/AbstractFmcPage.ts:156
Resumes the page and calls appropriate event handlers
Parameters
Parameter | Type | Description |
---|---|---|
props? | null | the props to pass in to the page, if applicable |
Returns
void
Inherited from
isPositionedFmcColumn()
static
isPositionedFmcColumn(column
):column is PositionedFmcColumn
Defined in: sdk/fmc/AbstractFmcPage.ts:325
Tests whether an FmcRenderTemplateColumn
is a PositionedFmcColumn
.
Parameters
Parameter | Type | Description |
---|---|---|
column | FmcRenderTemplateColumn | The 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
Parameter | Type | Description |
---|---|---|
column | any | The input to test. |
Returns
column is RenderedPositionedFmcColumn
Whether the column is a RenderedPositionedFmcColumn
.