Skip to main content

Class: MFDNearestVorRootMenu

The root menu displayed when the MFD nearest VOR page is open.

Hierarchy

Constructors

constructor

new MFDNearestVorRootMenu(menuSystem, publisher): MFDNearestVorRootMenu

Creates an instance of the MFD map options menu.

Parameters

NameTypeDescription
menuSystemSoftKeyMenuSystemThe map options menu system.
publisherG1000ControlPublisherA publisher to use for sending control events

Returns

MFDNearestVorRootMenu

Overrides

MFDNavMapRootMenu.constructor

Defined in

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

Properties

Protected menuSystem: SoftKeyMenuSystem

The menu system that will manage this menu.

Inherited from

MFDNavMapRootMenu.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

MFDNavMapRootMenu.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

MFDNavMapRootMenu.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

MFDNavMapRootMenu.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

MFDNavMapRootMenu.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

MFDNavMapRootMenu.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

MFDNavMapRootMenu.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

MFDNavMapRootMenu.removeItem

Defined in

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