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
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | An instance of the Event Bus. |
displayUnitSide | "left" | "right" | Which side the radio window is displayed on the DU. |
navComSettingsManager | NavComUserSettingManager | A manager for NavCom user settings. |
Returns
DetailPagesController
Properties
currentAdfModes
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:116
currentComSpacings
readonlycurrentComSpacings:Subject<ComSpacing>[]
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:106
currentDmeModes
readonlycurrentDmeModes: (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
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:111
currentPage
readonlycurrentPage:Subject<RadioSubWindowDetailPage>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:102
currentRowIndex
readonlycurrentRowIndex:Subscribable<number>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/DetailPagesController.tsx:104
currentTcasModes
readonlycurrentTcasModes: (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
readonlycurrentXpdrModes: (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
readonlyxpdrCode: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
| Parameter | Type | Description |
|---|---|---|
page | RadioSubWindowDetailPage | A 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
| Parameter | Type | Description |
|---|---|---|
event | string | The 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
| Parameter | Type | Description |
|---|---|---|
increment | "COARSE" | "FINE" | Whether the increment should be coarse (leftmost 2 digits), or fine (rightmost 2 digits). |
sign | -1 | 1 | The 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
| Parameter | Type | Description |
|---|---|---|
row | DetailPageOptionRow | A DetailPageOptionRow. |
isSelected | Subscribable<boolean> | Whether this row is selected. |
Returns
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
| Parameter | Type | Description |
|---|---|---|
row | DetailPageTextRow | A DetailPageOptionRow. |
isSelected | Subscribable<boolean> | Whether this row is selected. |
Returns
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
| Parameter | Type | Description |
|---|---|---|
row | DetailPageVNodeRow | A DetailPageVNodeRow. |
isSelected | Subscribable<boolean> | Whether this row is selected. |
Returns
A VNode.