Skip to main content

Class: MFDTrafficMapAltitudeMenu

The traffic map altitude restriction mode softkey menu.

Hierarchy

Constructors

constructor

new MFDTrafficMapAltitudeMenu(menuSystem): MFDTrafficMapAltitudeMenu

Parameters

NameType
menuSystemSoftKeyMenuSystem

Returns

MFDTrafficMapAltitudeMenu

Inherit Doc

Overrides

SoftKeyMenu.constructor

Defined in

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

Properties

Protected menuSystem: SoftKeyMenuSystem

The menu system that will manage this menu.

Inherited from

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

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

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

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

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

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

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

SoftKeyMenu.removeItem

Defined in

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