Skip to main content

Class: DirectToPageController

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/DirectToPageController.ts:17

DIRECT TO PAGE Controller

Constructors​

Constructor​

new DirectToPageController(eventBus, fms, store, page, screen): DirectToPageController

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/DirectToPageController.ts:84

Creates the Controller.

Parameters​

ParameterTypeDescription
eventBusEventBusThe event bus
fmsWT21FmsThe Fms
storeDirectToPageStoreThe Store
pageWT21FmcPageThe FMC Page
screenWT21FmcScreenThe FMC screen

Returns​

DirectToPageController

Properties​

currentPage​

readonly currentPage: Subject<number>

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


legsList​

legsList: FmcListUtility<DirectToPageItem>

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/DirectToPageController.ts:72


pageCount​

readonly pageCount: ComputedSubject<number, number>

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


activeHeaderString​

readonly static activeHeaderString: " ACT DIRECT-TO[blue]" = ' ACT DIRECT-TO[blue]'

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/DirectToPageController.ts:19


modHeaderString​

readonly static modHeaderString: " MOD[white] DIRECT-TO[blue]" = ' MOD[white] DIRECT-TO[blue]'

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/DirectToPageController.ts:20

Methods​

destroy()​

destroy(): void

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/DirectToPageController.ts:120

Destroys the Controller.

Returns​

void


init()​

init(): void

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/DirectToPageController.ts:96

Initializes the Controller

Returns​

void


renderPage()​

renderPage(): FmcRenderTemplate

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/DirectToPageController.ts:211

Renders the Page

Returns​

FmcRenderTemplate

The FmcRenderTemplate


renderRow()​

renderRow(page, indexInDisplay, prevData, data): FmcRenderTemplateRow[]

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/DirectToPageController.ts:42

Parameters​

ParameterType
pageAbstractFmcPage
indexInDisplaynumber
prevDataDirectToPageItem | undefined
dataDirectToPageItem | undefined

Returns​

FmcRenderTemplateRow[]