Skip to main content

Class: TrafficDetailPage

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/TrafficDetailPage/TrafficDetailPage.tsx:12

The TrafficDetailPage component.

Extends

Constructors

Constructor

new TrafficDetailPage(props): TrafficDetailPage

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

Creates an instance of a DisplayComponent.

Parameters

ParameterTypeDescription
propsBaseDetailPagePropsThe propertis of the component.

Returns

TrafficDetailPage

Inherited from

BaseDetailPage.constructor

Properties

context?

optional context: [] = undefined

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

The context on this component, if any.

Inherited from

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

BaseDetailPage.contextType


isVfrCodeEditable

protected readonly isVfrCodeEditable: Subject<boolean>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:36

Inherited from

BaseDetailPage.isVfrCodeEditable


isXpdrDetailPage

protected isXpdrDetailPage: boolean = false

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:35

Inherited from

BaseDetailPage.isXpdrDetailPage


pausables

protected pausables: Subscription[] = []

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/BaseDetailPage/BaseDetailPage.tsx:33

Inherited from

BaseDetailPage.pausables


props

props: BaseDetailPageProps & ComponentProps

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

The properties of the component.

Inherited from

BaseDetailPage.props


ROWS

protected ROWS: ({ rowCallback: () => void; rowOptions: object[]; rowText?: undefined; rowTitle: string; selectedValue: Subject<TcasOperatingModeSetting> | Subject<TcasVerticalRange> | Subject<TcasRelativeAbsoluteMode>; } | { rowCallback: () => void; rowOptions: object[]; rowText?: undefined; rowTitle: string; selectedValue: Subject<TcasOperatingModeSetting> | Subject<TcasVerticalRange> | Subject<TcasRelativeAbsoluteMode>; } | { rowCallback: () => void; rowOptions: object[]; rowText?: undefined; rowTitle: string; selectedValue: Subject<TcasOperatingModeSetting> | Subject<TcasVerticalRange> | Subject<TcasRelativeAbsoluteMode>; } | { rowCallback: () => void; rowOptions?: undefined; rowText: string; rowTitle: string; selectedValue?: undefined; })[]

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/TrafficDetailPage/TrafficDetailPage.tsx:22

Overrides

BaseDetailPage.ROWS


SELECTABLE_VALUES

protected SELECTABLE_VALUES: (TcasOperatingModeSetting[] | TcasVerticalRange[] | TcasRelativeAbsoluteMode[])[]

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/TrafficDetailPage/TrafficDetailPage.tsx:14

Overrides

BaseDetailPage.SELECTABLE_VALUES


SELECTED_VALUES

protected SELECTED_VALUES: (Subject<TcasOperatingModeSetting> | Subject<TcasVerticalRange> | Subject<TcasRelativeAbsoluteMode>)[]

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/TrafficDetailPage/TrafficDetailPage.tsx:20

Overrides

BaseDetailPage.SELECTED_VALUES

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

Inherited from

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

BaseDetailPage.getContext


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

ParameterTypeDescription
nodeVNodeThe component's VNode.

Returns

void

Inherited from

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

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

Inherited from

BaseDetailPage.pause


render()

render(): VNode

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Components/Radio/DetailPages/TrafficDetailPage/TrafficDetailPage.tsx:107

Renders the component.

Returns

VNode

A JSX element to be rendered.

Overrides

BaseDetailPage.render


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

ParameterTypeDescription
rowDetailPageOptionRowA DetailPageOptionRow.
isSelectedSubscribable<boolean>Whether this row is selected.

Returns

VNode

A VNode.

Inherited from

BaseDetailPage.renderOptionRow


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

ParameterTypeDescription
rowDetailPageTextRowA DetailPageOptionRow.
isSelectedSubscribable<boolean>Whether this row is selected.

Returns

VNode

A VNode.

Inherited from

BaseDetailPage.renderTextRow


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

ParameterTypeDescription
rowDetailPageVNodeRowA DetailPageVNodeRow.
isSelectedSubscribable<boolean>Whether this row is selected.

Returns

VNode

A VNode.

Inherited from

BaseDetailPage.renderVNodeRow


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

Inherited from

BaseDetailPage.resume