Abstract Class: RadioSubWindow<P>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/RadioSubWindow.tsx:32
A base class for radio sub-window classes.
Extends
Extended by
Type Parameters
Type Parameter | Default type |
---|---|
P extends RadioSubWindowProps | RadioSubWindowProps |
Constructors
Constructor
new RadioSubWindow<
P
>(props
):RadioSubWindow
<P
>
Defined in: sdk/components/FSComponent.ts:73
Creates an instance of a DisplayComponent.
Parameters
Parameter | Type | Description |
---|---|---|
props | P | The propertis of the component. |
Returns
RadioSubWindow
<P
>
Inherited from
Properties
context?
optional
context: [] =undefined
Defined in: sdk/components/FSComponent.ts:64
The context on this component, if any.
Inherited from
contextType?
readonly
optional
contextType: readonly [] =undefined
Defined in: sdk/components/FSComponent.ts:67
The type of context for this component, if any.
Inherited from
hEventPublisher
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/RadioSubWindow.tsx:38
isSelected
readonly
isSelected:MutableSubscribable
<boolean
,boolean
>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/RadioSubWindow.tsx:42
props
props:
P
&ComponentProps
Defined in: sdk/components/FSComponent.ts:61
The properties of the component.
Inherited from
radioSub
protected
readonly
radioSub:EventSubscriber
<AdfSystemEvents
&Omit
<BaseElectricalEvents
,IndexedTopics
> &IndexedEvents
&Epic2DmeStateEvents
&NavComEvents
&XPDRSimVarEvents
&XpdrSystemEvents
>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/RadioSubWindow.tsx:36
separatorRef
protected
readonly
separatorRef:NodeReference
<HTMLDivElement
>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/RadioSubWindow.tsx:34
softKeyClass
protected
readonly
softKeyClass:SetSubject
<string
>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/RadioSubWindow.tsx:40
softKeyHandler()
protected
softKeyHandler: () =>void
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/RadioSubWindow.tsx:105
Handles the softkey for this subwindow being pressed.
Handles the softkey for this subwindow being pressed.
Returns
void
subWindowRef
protected
readonly
subWindowRef:NodeReference
<HTMLDivElement
>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/RadioSubWindow.tsx:33
Methods
destroy()
destroy():
void
Defined in: sdk/components/FSComponent.ts:98
Destroys this component.
Returns
void
Inherited from
getContext()
protected
getContext(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
handleRadioControlEvents()
handleRadioControlEvents(
topic
):void
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/RadioSubWindow.tsx:80
Handles Epic2PfdControlRadioEventss.
Parameters
Parameter | Type | Description |
---|---|---|
topic | RadioSubWindowControlEventTopics | The event topic. |
Returns
void
void
onAfterRender()
onAfterRender():
void
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/RadioSubWindow.tsx:64
A callback that is called after the component is rendered.
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
render()
abstract
render():null
|VNode
Defined in: sdk/components/FSComponent.ts:93
Renders the component.
Returns
null
| VNode
A JSX element to be rendered.
Inherited from
FrequencyFormatter()
protected
static
FrequencyFormatter(root0
):string
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/RadioSubWindow.tsx:52
Formats COM frequencies to strings.
Parameters
Parameter | Type | Description |
---|---|---|
root0 | readonly [number , ComSpacing , boolean ] | Inputs |
Returns
string
A formatted string.