Class: PageSelectMenuSystem
A class that manages the data and logic for the MFD page selection menu system.
Constructors
constructor
• new PageSelectMenuSystem(): PageSelectMenuSystem
Returns
Methods
addPageList
▸ addPageList(index
, pageList
): void
Insert a page list at a given index in the menu system.
Parameters
Name | Type | Description |
---|---|---|
index | number | The index to insert at. |
pageList | PageListDef | The 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
Name | Type | Description |
---|---|---|
mfdPageSelect | MFDPageSelect | The 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
Name | Type | Description |
---|---|---|
index | number | The 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
Name | Type | Description |
---|---|---|
pageList | PageListDef | The 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
Name | Type | Description |
---|---|---|
index | number | The 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
Name | Type | Description |
---|---|---|
index | number | The index to set. |
pageList | PageListDef | The 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