Skip to main content

Class: PageSelectMenuSystem

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

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

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

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

Parameters​

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

Returns​

void


attachPageSelectView()​

attachPageSelectView(mfdPageSelect): void

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

Attach a rendered page select menu to this controller.

Parameters​

ParameterTypeDescription
mfdPageSelectMFDPageSelectThe page select element.

Returns​

void


compute()​

compute(): void

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

Re-compute the page select menu

Returns​

void


getPageList()​

getPageList(index): PageListDef

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

Get the page list definitions for a page list index.

Parameters​

ParameterTypeDescription
indexnumberThe index to retrieve.

Returns​

PageListDef

The definition at the given index.


getPageLists()​

getPageLists(): PageListDef[]

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

Return the full collection page lists

Returns​

PageListDef[]

A list of page lists.


pushPageList()​

pushPageList(pageList): void

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

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

Parameters​

ParameterTypeDescription
pageListPageListDefThe list to push.

Returns​

void


removePageList()​

removePageList(index): boolean

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

Remove a page list from the menu system.

Parameters​

ParameterTypeDescription
indexnumberThe index to remove.

Returns​

boolean

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


setPageList()​

setPageList(index, pageList): void

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

Set the contents of a page list index.

Parameters​

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

Returns​

void