Skip to main content

Class: DirectToHistoryPageController

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

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/WT21/FMC/Pages/DirectToHistoryPageController.ts:70

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/WT21/FMC/Pages/DirectToHistoryPageController.ts:21


legsList​

legsList: FmcListUtility<DirectToPageItem>

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


pageCount​

readonly pageCount: ComputedSubject<number, number>

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


activeHeaderString​

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

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


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/WT21/FMC/Pages/DirectToHistoryPageController.ts:19

Methods​

destroy()​

destroy(): void

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

Destroys the Controller.

Returns​

void


init()​

init(): void

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

Initializes the Controller

Returns​

void


renderPage()​

renderPage(): FmcRenderTemplate

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

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/WT21/FMC/Pages/DirectToHistoryPageController.ts:38

Parameters​

ParameterType
pageAbstractFmcPage
indexInDisplaynumber
prevDataundefined | DirectToPageItem
dataundefined | DirectToPageItem

Returns​

FmcRenderTemplateRow[]