Skip to main content

Class: XpdrRadioSubWindow

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/XpdrRadioSubWindow.tsx:18

A transponder radio sub-window

Extends

Constructors

Constructor

new XpdrRadioSubWindow(props): XpdrRadioSubWindow

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

Creates an instance of a DisplayComponent.

Parameters

ParameterTypeDescription
propsRadioSubWindowPropsThe propertis of the component.

Returns

XpdrRadioSubWindow

Inherited from

RadioSubWindow.constructor

Properties

context?

optional context: [] = undefined

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

The context on this component, if any.

Inherited from

RadioSubWindow.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

RadioSubWindow.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

Inherited from

RadioSubWindow.hEventPublisher


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

Inherited from

RadioSubWindow.isSelected


props

props: RadioSubWindowProps & ComponentProps

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

The properties of the component.

Inherited from

RadioSubWindow.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

Inherited from

RadioSubWindow.radioSub


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

Inherited from

RadioSubWindow.separatorRef


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

Inherited from

RadioSubWindow.softKeyClass


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

Inherited from

RadioSubWindow.softKeyHandler


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

Inherited from

RadioSubWindow.subWindowRef

Methods

destroy()

destroy(): void

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

Destroys this component.

Returns

void

Inherited from

RadioSubWindow.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

RadioSubWindow.getContext


handleRadioControlEvents()

handleRadioControlEvents(topic): void | Promise<void>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/XpdrRadioSubWindow.tsx:37

Handles Epic2PfdControlRadioEventss.

Parameters

ParameterTypeDescription
topicRadioSubWindowControlEventTopicsThe event topic.

Returns

void | Promise<void>

void

Overrides

RadioSubWindow.handleRadioControlEvents


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

Inherited from

RadioSubWindow.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

RadioSubWindow.onBeforeRender


render()

render(): VNode

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/XpdrRadioSubWindow.tsx:81

Renders the component.

Returns

VNode

A JSX element to be rendered.

Overrides

RadioSubWindow.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.

Inherited from

RadioSubWindow.FrequencyFormatter