Skip to main content

Class: PageSelectMenuSystem

A class that manages the data and logic for the MFD page selection menu system.

Constructors

constructor

new PageSelectMenuSystem(): PageSelectMenuSystem

Returns

PageSelectMenuSystem

Methods

addPageList

addPageList(index, pageList): void

Insert a page list at a given index in the menu system.

Parameters

NameTypeDescription
indexnumberThe index to insert at.
pageListPageListDefThe list to insert.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDPageSelect.tsx:102


attachPageSelectView

attachPageSelectView(mfdPageSelect): void

Attach a rendered page select menu to this controller.

Parameters

NameTypeDescription
mfdPageSelectMFDPageSelectThe page select element.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDPageSelect.tsx:60


compute

compute(): void

Re-compute the page select menu

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDPageSelect.tsx:127


getPageList

getPageList(index): PageListDef

Get the page list definitions for a page list index.

Parameters

NameTypeDescription
indexnumberThe index to retrieve.

Returns

PageListDef

The definition at the given index.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDPageSelect.tsx:69


getPageLists

getPageLists(): PageListDef[]

Return the full collection page lists

Returns

PageListDef[]

A list of page lists.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDPageSelect.tsx:120


pushPageList

pushPageList(pageList): void

Push a new page list to the end of the menu system.

Parameters

NameTypeDescription
pageListPageListDefThe list to push.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDPageSelect.tsx:111


removePageList

removePageList(index): boolean

Remove a page list from the menu system.

Parameters

NameTypeDescription
indexnumberThe index to remove.

Returns

boolean

True if that index was found and removed, false otherwise.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDPageSelect.tsx:87


setPageList

setPageList(index, pageList): void

Set the contents of a page list index.

Parameters

NameTypeDescription
indexnumberThe index to set.
pageListPageListDefThe new pagelist for this index.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDPageSelect.tsx:78