Skip to main content

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 ParameterDefault type
P extends RadioSubWindowPropsRadioSubWindowProps

Constructors

Constructor

new RadioSubWindow<P>(props): RadioSubWindow<P>

Defined in: sdk/components/FSComponent.ts:73

Creates an instance of a DisplayComponent.

Parameters

ParameterTypeDescription
propsPThe propertis of the component.

Returns

RadioSubWindow<P>

Inherited from

DisplayComponent.constructor

Properties

context?

optional context: [] = undefined

Defined in: sdk/components/FSComponent.ts:64

The context on this component, if any.

Inherited from

DisplayComponent.context


contextType?

readonly optional contextType: readonly [] = undefined

Defined in: sdk/components/FSComponent.ts:67

The type of context for this component, if any.

Inherited from

DisplayComponent.contextType


hEventPublisher

protected readonly hEventPublisher: Publisher<HEvent>

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

DisplayComponent.props


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

DisplayComponent.destroy


getContext()

protected getContext(context): never

Defined in: sdk/components/FSComponent.ts:106

Gets a context data subscription from the context collection.

Parameters

ParameterTypeDescription
contextneverThe 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

DisplayComponent.getContext


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

ParameterTypeDescription
topicRadioSubWindowControlEventTopicsThe 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

DisplayComponent.render


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

ParameterTypeDescription
root0readonly [number, ComSpacing, boolean]Inputs

Returns

string

A formatted string.