Class: DirectToPageController
DIRECT TO PAGE Controller
Constructors
constructor
• new DirectToPageController(eventBus
, fms
, store
, page
, screen
): DirectToPageController
Creates the Controller.
Parameters
Name | Type | Description |
---|---|---|
eventBus | EventBus | The event bus |
fms | WT21Fms | The Fms |
store | DirectToPageStore | The Store |
page | WT21FmcPage <null > | The FMC Page |
screen | WT21FmcScreen | The FMC screen |
Returns
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DirectToPageController.ts:83
Properties
currentPage
• Readonly
currentPage: Subject
<number
>
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DirectToPageController.ts:23
legsList
• legsList: FmcListUtility
<DirectToPageItem
>
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DirectToPageController.ts:73
pageCount
• Readonly
pageCount: ComputedSubject
<number
, number
>
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DirectToPageController.ts:24
activeHeaderString
▪ Static
Readonly
activeHeaderString: " ACT DIRECT-TO[blue]"
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DirectToPageController.ts:20
modHeaderString
▪ Static
Readonly
modHeaderString: " MOD[white] DIRECT-TO[blue]"
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DirectToPageController.ts:21
Methods
destroy
▸ destroy(): void
Destroys the Controller.
Returns
void
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DirectToPageController.ts:116
init
▸ init(): void
Initializes the Controller
Returns
void
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DirectToPageController.ts:95
renderPage
▸ renderPage(): FmcRenderTemplate
Renders the Page
Returns
FmcRenderTemplate
The FmcRenderTemplate
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DirectToPageController.ts:217
renderRow
▸ renderRow(page
, indexInDisplay
, prevData
, data
): FmcRenderTemplateRow
[]
Parameters
Name | Type |
---|---|
page | AbstractFmcPage <any > |
indexInDisplay | number |
prevData | undefined | DirectToPageItem |
data | undefined | DirectToPageItem |
Returns
FmcRenderTemplateRow
[]
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DirectToPageController.ts:43