Skip to main content

Class: MFDNavMapRootMenu

The MFD Navigation Map page root softkey menu.

Hierarchy

Constructors

constructor

new MFDNavMapRootMenu(menuSystem): MFDNavMapRootMenu

Creates an instance of the MFD Navigation Map page root softkey menu.

Parameters

NameTypeDescription
menuSystemSoftKeyMenuSystemThe menu system.

Returns

MFDNavMapRootMenu

Overrides

MFDRootMenu.constructor

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/MFD/MFDNavMapRootMenu.ts:26

Properties

Protected menuSystem: SoftKeyMenuSystem

The menu system that will manage this menu.

Inherited from

MFDRootMenu.menuSystem

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:44


EmptyMenuItem

Static EmptyMenuItem: MenuItem

An empty menu item.

Inherited from

MFDRootMenu.EmptyMenuItem

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:117

Methods

addItem

addItem(index, label, handler?, value?, disabled?): void

Adds a menu item to the softkey menu.

Parameters

NameTypeDefault valueDescription
indexnumberundefinedThe softkey index to add the menu item to.
labelstringundefinedThe label of the menu item.
handler?(menu: SoftKeyMenu) => voidundefinedThe handler to call when the menu item is selected.
value?string | booleanundefinedThe value of the menu item, if any.
disabledbooleanfalseWhether or not the menu item is disabled.

Returns

void

Inherited from

MFDRootMenu.addItem

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:54


forEach

forEach(each): void

Iterates over the menu items.

Parameters

NameTypeDescription
each(menuItem: MenuItem, index: number) => voidThe function to run over each menu item.

Returns

void

Inherited from

MFDRootMenu.forEach

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:97


getItem

getItem(index): MenuItem

Gets a menu item.

Parameters

NameTypeDescription
indexnumberThe index of the menu item.

Returns

MenuItem

The requested menu item.

Inherited from

MFDRootMenu.getItem

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:82


handleBack

handleBack(): void

Handles a back menu action.

Returns

void

Inherited from

MFDRootMenu.handleBack

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:89


handleItemPressed

handleItemPressed(index): void

Handles when a menu item is pressed.

Parameters

NameTypeDescription
indexnumberThe index of the menu item that was pressed.

Returns

void

Inherited from

MFDRootMenu.handleItemPressed

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:108


removeItem

removeItem(index): void

Removes a menu item from the menu.

Parameters

NameTypeDescription
indexnumberThe softkey index to remove the menu item from.

Returns

void

Inherited from

MFDRootMenu.removeItem

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Menus/SoftKeyMenu.ts:73