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
Parameter | Type | Description |
---|---|---|
index | number | The index to insert at. |
pageList | PageListDef | The 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
Parameter | Type | Description |
---|---|---|
mfdPageSelect | MFDPageSelect | The 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
Parameter | Type | Description |
---|---|---|
index | number | The 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
Parameter | Type | Description |
---|---|---|
pageList | PageListDef | The 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
Parameter | Type | Description |
---|---|---|
index | number | The 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
Parameter | Type | Description |
---|---|---|
index | number | The index to set. |
pageList | PageListDef | The new pagelist for this index. |
Returns
void