Skip to main content

Class: DirectToHistoryPageController

DIRECT TO HISTORY PAGE Controller

Constructors

constructor

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

Creates the Controller.

Parameters

NameTypeDescription
eventBusEventBusThe event bus
fmsWT21FmsThe Fms
storeDirectToPageStoreThe Store
pageWT21FmcPage<null>The FMC Page

Returns

DirectToHistoryPageController

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DirectToHistoryPageController.ts:70

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

Static Readonly activeHeaderString: " ACT DIRECT-TO[blue]"

Defined in

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


modHeaderString

Static Readonly modHeaderString: " 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

Destroys the Controller.

Returns

void

Defined in

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


init

init(): void

Initializes the Controller

Returns

void

Defined in

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


renderPage

renderPage(): FmcRenderTemplate

Renders the Page

Returns

FmcRenderTemplate

The FmcRenderTemplate

Defined in

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


renderRow

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

Parameters

NameType
pageAbstractFmcPage<any>
indexInDisplaynumber
prevDataundefined | DirectToPageItem
dataundefined | DirectToPageItem

Returns

FmcRenderTemplateRow[]

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DirectToHistoryPageController.ts:38