Skip to main content

Class: DirectToPageController

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

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/WT21/FMC/Pages/DirectToPageController.ts:83

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/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

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/DirectToPageController.ts:20


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/DirectToPageController.ts:21

Methods

destroy()

destroy(): void

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

Destroys the Controller.

Returns

void


init()

init(): void

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

Initializes the Controller

Returns

void


renderPage()

renderPage(): FmcRenderTemplate

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

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/DirectToPageController.ts:43

Parameters

ParameterType
pageAbstractFmcPage
indexInDisplaynumber
prevDataundefined | DirectToPageItem
dataundefined | DirectToPageItem

Returns

FmcRenderTemplateRow[]