Skip to main content

Class: MFDTrafficMapAltitudeMenu

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Traffic/MFDTrafficMapAltitudeMenu.ts:9

The traffic map altitude restriction mode softkey menu.

Extends

Constructors

Constructor

new MFDTrafficMapAltitudeMenu(menuSystem): MFDTrafficMapAltitudeMenu

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Traffic/MFDTrafficMapAltitudeMenu.ts:24

Parameters

ParameterType
menuSystemSoftKeyMenuSystem

Returns

MFDTrafficMapAltitudeMenu

Inherit Doc

Overrides

SoftKeyMenu.constructor

Properties

protected menuSystem: SoftKeyMenuSystem

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

The menu system that will manage this menu.

Inherited from

SoftKeyMenu.menuSystem


EmptyMenuItem

static EmptyMenuItem: MenuItem

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

An empty menu item.

Inherited from

SoftKeyMenu.EmptyMenuItem

Methods

addItem()

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

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

Adds a menu item to the softkey menu.

Parameters

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

Returns

void

Inherited from

SoftKeyMenu.addItem


forEach()

forEach(each): void

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

Iterates over the menu items.

Parameters

ParameterTypeDescription
each(menuItem, index) => voidThe function to run over each menu item.

Returns

void

Inherited from

SoftKeyMenu.forEach


getItem()

getItem(index): MenuItem

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

Gets a menu item.

Parameters

ParameterTypeDescription
indexnumberThe index of the menu item.

Returns

MenuItem

The requested menu item.

Inherited from

SoftKeyMenu.getItem


handleBack()

handleBack(): void

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

Handles a back menu action.

Returns

void

Inherited from

SoftKeyMenu.handleBack


handleItemPressed()

handleItemPressed(index): void

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

Handles when a menu item is pressed.

Parameters

ParameterTypeDescription
indexnumberThe index of the menu item that was pressed.

Returns

void

Inherited from

SoftKeyMenu.handleItemPressed


removeItem()

removeItem(index): void

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

Removes a menu item from the menu.

Parameters

ParameterTypeDescription
indexnumberThe softkey index to remove the menu item from.

Returns

void

Inherited from

SoftKeyMenu.removeItem