Skip to main content

Class: PfdInsetContainer

A container for PFD insets.

Hierarchy

Constructors

constructor

new PfdInsetContainer(props): PfdInsetContainer

Creates an instance of a DisplayComponent.

Parameters

NameTypeDescription
propsPfdInsetContainerPropsThe propertis of the component.

Returns

PfdInsetContainer

Inherited from

DisplayComponent<PfdInsetContainerProps>.constructor

Defined in

src/sdk/components/FSComponent.ts:73

Properties

activeInsetEntry

Readonly activeInsetEntry: Subscribable<null | PfdInsetEntry>

This container's current active inset, or null if there is no active inset.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/PfdInstruments/Inset/PfdInsetContainer.tsx:78


context

Optional context: [] = undefined

The context on this component, if any.

Inherited from

DisplayComponent.context

Defined in

src/sdk/components/FSComponent.ts:64


contextType

Optional Readonly contextType: readonly [] = undefined

The type of context for this component, if any.

Inherited from

DisplayComponent.contextType

Defined in

src/sdk/components/FSComponent.ts:67


props

props: PfdInsetContainerProps & ComponentProps

The properties of the component.

Inherited from

DisplayComponent.props

Defined in

src/sdk/components/FSComponent.ts:61

Methods

destroy

destroy(): void

Returns

void

Inherit Doc

Overrides

DisplayComponent.destroy

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/PfdInstruments/Inset/PfdInsetContainer.tsx:310


getContext

getContext(context): never

Gets a context data subscription from the context collection.

Parameters

NameTypeDescription
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

Defined in

src/sdk/components/FSComponent.ts:106


isAwake

isAwake(): boolean

Checks whether this container is awake.

Returns

boolean

Whether this container is awake.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/PfdInstruments/Inset/PfdInsetContainer.tsx:105


onAfterRender

onAfterRender(): void

Returns

void

Inherit Doc

Overrides

DisplayComponent.onAfterRender

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/PfdInstruments/Inset/PfdInsetContainer.tsx:92


onBeforeRender

onBeforeRender(): void

A callback that is called before the component is rendered.

Returns

void

Inherited from

DisplayComponent.onBeforeRender

Defined in

src/sdk/components/FSComponent.ts:80


render

render(): VNode

Returns

VNode

Inherit Doc

Overrides

DisplayComponent.render

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/PfdInstruments/Inset/PfdInsetContainer.tsx:294


setSize

setSize(sizeMode): void

Sets the size of this container.

Parameters

NameTypeDescription
sizeModePfdInsetSizeModeThe new size mode.

Returns

void

Throws

Error if this container has been destroyed.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/PfdInstruments/Inset/PfdInsetContainer.tsx:155


sleep

sleep(): void

Puts this container to sleep. This will close the active inset (if one exists).

Returns

void

Throws

Error if this container has been destroyed.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/PfdInstruments/Inset/PfdInsetContainer.tsx:131


update

update(time): void

Updates this container.

Parameters

NameTypeDescription
timenumberThe current real (operating system) time, as a Javascript timestamp in milliseconds.

Returns

void

Throws

Error if this container has been destroyed.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/PfdInstruments/Inset/PfdInsetContainer.tsx:181


wake

wake(): void

Wakes this container. This will open the active inset (if one exists).

Returns

void

Throws

Error if this container has been destroyed.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/PfdInstruments/Inset/PfdInsetContainer.tsx:113