Class: BaseDetailPage<T>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:29
The BaseDetailPage component. All Radio Management's Detail Pages will extend this BaseDetailPage component. Defines basic layout and stylings of Detail Pages.
Extends
Extended by
Type Parameters
| Type Parameter |
|---|
T extends BaseDetailPageProps |
Constructors
Constructor
new BaseDetailPage<
T>(props):BaseDetailPage<T>
Defined in: sdk/components/FSComponent.ts:73
Creates an instance of a DisplayComponent.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | T | The propertis of the component. |
Returns
BaseDetailPage<T>
Inherited from
Properties
context?
optionalcontext: [] =undefined
Defined in: sdk/components/FSComponent.ts:64
The context on this component, if any.
Inherited from
contextType?
readonlyoptionalcontextType: readonly [] =undefined
Defined in: sdk/components/FSComponent.ts:67
The type of context for this component, if any.
Inherited from
isVfrCodeEditable
protectedreadonlyisVfrCodeEditable:Subject<boolean>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:36
isXpdrDetailPage
protectedisXpdrDetailPage:boolean=false
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:35
pausables
protectedpausables:Subscription[] =[]
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:33
props
props:
T&ComponentProps
Defined in: sdk/components/FSComponent.ts:61
The properties of the component.
Inherited from
ROWS
protectedROWS: (DetailPageOptionRow|DetailPageTextRow|DetailPageVNodeRow)[] =[]
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:38
SELECTABLE_VALUES
protectedSELECTABLE_VALUES:RadioDetailSelectableValues<any>[] =[]
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:40
SELECTED_VALUES
protectedSELECTED_VALUES:RadioDetailSelectedValue<any>[] =[]
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:39
Methods
destroy()
destroy():
void
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:148
Destroys this component.
Returns
void
Overrides
getContext()
protectedgetContext(context):never
Defined in: sdk/components/FSComponent.ts:106
Gets a context data subscription from the context collection.
Parameters
| Parameter | Type | Description |
|---|---|---|
context | never | The context to get the subscription for. |
Returns
never
The requested context.
Throws
An error if no data for the specified context type could be found.
Inherited from
onAfterRender()
onAfterRender(
node):void
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:43
A callback that is called after the component is rendered.
Parameters
| Parameter | Type | Description |
|---|---|---|
node | VNode | The component's VNode. |
Returns
void
Overrides
DisplayComponent.onAfterRender
onBeforeRender()
onBeforeRender():
void
Defined in: sdk/components/FSComponent.ts:80
A callback that is called before the component is rendered.
Returns
void
Inherited from
DisplayComponent.onBeforeRender
pause()
pause():
void
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:93
Pauses this component. When the component is paused, it will not update its rendering.
Returns
void
render()
render():
VNode
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:143
Renders the component.
Returns
A JSX element to be rendered.
Overrides
renderOptionRow()
renderOptionRow(
row,isSelected):VNode
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:118
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/BaseDetailPage/BaseDetailPage.tsx:128
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/BaseDetailPage/BaseDetailPage.tsx:138
Renders a text row.
Parameters
| Parameter | Type | Description |
|---|---|---|
row | DetailPageVNodeRow | A DetailPageVNodeRow. |
isSelected | Subscribable<boolean> | Whether this row is selected. |
Returns
A VNode.
resume()
resume():
void
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:82
Resumes this component. When the component is resumed, it will update its rendering.
Returns
void