Skip to main content

Class: DirectToHistoryPageController

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

DIRECT TO HISTORY PAGE Controller

Constructors​

Constructor​

new DirectToHistoryPageController(eventBus, fms, store, page): DirectToHistoryPageController

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

Creates the Controller.

Parameters​

ParameterTypeDescription
eventBusEventBusThe event bus
fmsWT21FmsThe Fms
storeDirectToPageStoreThe Store
pageWT21FmcPageThe FMC Page

Returns​

DirectToHistoryPageController

Properties​

currentPage​

readonly currentPage: Subject<number>

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


legsList​

legsList: FmcListUtility<DirectToPageItem>

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


pageCount​

readonly pageCount: ComputedSubject<number, number>

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


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/DirectToHistoryPageController.ts:17


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/DirectToHistoryPageController.ts:18

Methods​

destroy()​

destroy(): void

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

Destroys the Controller.

Returns​

void


init()​

init(): void

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

Initializes the Controller

Returns​

void


renderPage()​

renderPage(): FmcRenderTemplate

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

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/DirectToHistoryPageController.ts:37

Parameters​

ParameterType
pageAbstractFmcPage
indexInDisplaynumber
prevDataDirectToPageItem | undefined
dataDirectToPageItem | undefined

Returns​

FmcRenderTemplateRow[]