Skip to main content

Class: DirectToPageController

DIRECT TO PAGE Controller

Constructors

constructor

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

Creates the Controller.

Parameters

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

Returns

DirectToPageController

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

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

Returns

FmcRenderTemplateRow[]

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DirectToPageController.ts:43