Skip to main content

Class: DetailPagesController

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:91

Controls a Radio Management Detail Page's display data.

Constructors

Constructor

new DetailPagesController(bus, displayUnitSide, navComSettingsManager): DetailPagesController

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:163

The constructor

Parameters

ParameterTypeDescription
busEventBusAn instance of the Event Bus.
displayUnitSide"left" | "right"Which side the radio window is displayed on the DU.
navComSettingsManagerNavComUserSettingManagerA manager for NavCom user settings.

Returns

DetailPagesController

Properties

currentAdfModes

readonly currentAdfModes: Subject<AdfMode>[]

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:116


currentComSpacings

readonly currentComSpacings: Subject<ComSpacing>[]

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:106


currentDmeModes

readonly currentDmeModes: (Subject<DmePairMode> | Subject<DmeHoldMode>)[]

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:120


currentNavModes

readonly currentNavModes: Subject<NavMode>[]

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:111


currentPage

readonly currentPage: Subject<RadioSubWindowDetailPage>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:102


currentRowIndex

readonly currentRowIndex: Subscribable<number>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:104


currentTcasModes

readonly currentTcasModes: (Subject<TcasOperatingModeSetting> | Subject<TcasVerticalRange> | Subject<TcasRelativeAbsoluteMode>)[]

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:132


currentXpdrModes

readonly currentXpdrModes: (Subject<XpdrSelectMode> | Subject<AdsBroadcastOutMode>)[]

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:127


rows

rows: (DetailPageOptionRow | DetailPageTextRow | DetailPageVNodeRow)[] = []

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:95


xpdrCode

readonly xpdrCode: Subscribable<number>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:97

Methods

handleDetailButtonPressed()

handleDetailButtonPressed(page): void

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:265

The handler to call when DETAIL button is pressed.

Parameters

ParameterTypeDescription
pageRadioSubWindowDetailPageA Radio Detail Page.

Returns

void


handleDmeButtonPressed()

handleDmeButtonPressed(): void

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:274

The handler to call when the DME button is pressed.

Returns

void


handleHEvent()

handleHEvent(event): void

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:305

Callback handler when an HEvent happens.

Parameters

ParameterTypeDescription
eventstringThe key event.

Returns

void


handleSelKnobPressed()

handleSelKnobPressed(): void

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:288

Callback handler when a soft key button of the right side of the screen is pressed.

Returns

void


handleVfrButtonPress()

handleVfrButtonPress(): void

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:283

The handler to call when the VFR button is pressed

Returns

void


handleVfrCodeChange()

handleVfrCodeChange(increment, sign): void

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:251

Sets a new transponder code.

Parameters

ParameterTypeDescription
increment"COARSE" | "FINE"Whether the increment should be coarse (leftmost 2 digits), or fine (rightmost 2 digits).
sign-1 | 1The sign of the increment.

Returns

void


renderOptionRow()

renderOptionRow(row, isSelected): VNode

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:355

Renders an option row.

Parameters

ParameterTypeDescription
rowDetailPageOptionRowA DetailPageOptionRow.
isSelectedSubscribable<boolean>Whether this row is selected.

Returns

VNode

A VNode.


renderTextRow()

renderTextRow(row, isSelected): VNode

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:390

Renders a text row.

Parameters

ParameterTypeDescription
rowDetailPageTextRowA DetailPageOptionRow.
isSelectedSubscribable<boolean>Whether this row is selected.

Returns

VNode

A VNode.


renderVNodeRow()

renderVNodeRow(row, isSelected): VNode

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:418

Renders a text row.

Parameters

ParameterTypeDescription
rowDetailPageVNodeRowA DetailPageVNodeRow.
isSelectedSubscribable<boolean>Whether this row is selected.

Returns

VNode

A VNode.